Closed Bug 1729860 Opened 4 years ago Closed 1 year ago

Remove the MIPS32 backend

Categories

(Core :: JavaScript Engine: JIT, task, P3)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: jandem, Assigned: anba)

References

Details

Attachments

(7 files)

See bug 1728973. As Lars noted there, the MIPS32 backend has been broken for a long time and the maintainers are only working on MIPS64.

I started looking at this as a background activity but I think we should hold off until the LoongArch64 port has landed, to create minimal turbulence for that patch.

Severity: normal → S3

Remove jit and simulator support for mips32.

Assignee: nobody → andrebargull
Status: NEW → ASSIGNED
  • Remove code guarded by JS_CODEGEN_MIPS32 or JS_SIMULATOR_MIPS32.
  • Remove mips32 specific code in "js/src/jit/mips-shared".

The change to "config/check_macroassembler_style.py" will be reverted in part 5.
It's only needed temporarily to ensure the python script doesn't report errors
while the mips32 source files are still present.

Replace mips_shared with mips64 and simplify DEFINED_ON to use
PER_SHARED_ARCH or PER_ARCH when possible. (This requires to add wasm32
stubs in some cases.)

Pushed by andre.bargull@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c6b46745cb3c Part 1: Remove mips32 from configure. r=spidermonkey-reviewers,iain https://hg.mozilla.org/integration/autoland/rev/eafb641d3dd5 Part 2: Remove ifdef code for mips32. r=spidermonkey-reviewers,iain https://hg.mozilla.org/integration/autoland/rev/d5c8468b1a3d Part 3: Remove mips32 MacroAssembler definitions. r=spidermonkey-reviewers,iain https://hg.mozilla.org/integration/autoland/rev/eac0423e991c Part 4: Remove mips32 source files. r=spidermonkey-reviewers,iain https://hg.mozilla.org/integration/autoland/rev/1bfdd84800fb Part 5: Simplify MacroAssembler architecture definitions. r=spidermonkey-reviewers,iain https://hg.mozilla.org/integration/autoland/rev/3592b039220f Part 6: Remove MIPS32 specific code from mips-shared. r=spidermonkey-reviewers,iain https://hg.mozilla.org/integration/autoland/rev/75c5b2014e14 Part 7: Remove methods only needed for MIPS32. r=spidermonkey-reviewers,iain https://hg.mozilla.org/integration/autoland/rev/d532b3e65a57 apply code formatting via Lando
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: