Closed Bug 1929801 Opened 27 days ago Closed 27 days ago

[MIPS64] Failed to build JS on mips64 platform (emitBigIntPtrDiv)

Categories

(Core :: JavaScript Engine: JIT, defect)

Firefox 132
defect

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: chenx97, Assigned: chenx97)

Details

Attachments

(1 file)

Steps to reproduce:

build firefox on x86_64 with ac_add_options --enable-simulator=mips64

Actual results:

2:53.77 /mozilla-unified/js/src/jit/CodeGenerator.cpp:11597:3: error: use of undeclared identifier 'emitBigIntPtrDiv'
2:53.77 11597 | emitBigIntPtrDiv(ins, lhs, rhs, output);
2:53.77 | ^
2:53.83 /mozilla-unified/js/src/jit/CodeGenerator.cpp:11667:3: error: use of undeclared identifier 'emitBigIntPtrMod'
2:53.83 11667 | emitBigIntPtrMod(ins, temp, rhs, output);
2:53.83 | ^

Expected results:

These errors shouldn't exist.

(In reply to Xuan Chen from comment #0)

Steps to reproduce:

build firefox on x86_64 with ac_add_options --enable-simulator=mips64

Correction: building the js engine should be enough to reproduce this problem.

This patch implements missing methods that cause builds to fail
for MIPS64, and implements lowerBigIntPtrDiv and lowerBigIntPtrMod
properly as the codegen can properly emit them now.

Assignee: nobody → chenx97
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by andre.bargull@gmail.com: https://hg.mozilla.org/integration/autoland/rev/f202e1c73018 [MIPS64] Implement undefined and MOZ_CRASH methods. r=anba
Status: ASSIGNED → RESOLVED
Closed: 27 days ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: