Closed
Bug 2053717
Opened 4 months ago
Closed 3 months ago
Improve immediate materialization for riscv64
Categories
(Core :: JavaScript Engine: JIT, enhancement)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
154 Branch
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
References
(Blocks 1 open bug)
Details
Attachments
(4 external files)
Improve immediate materialization for riscv64 by importing more code from LLVM's RISCVMatInt file.
| Assignee | ||
Comment 1•4 months ago
|
||
| Assignee | ||
Comment 2•4 months ago
|
||
Instruction class changes for later parts:
IsSlli: IncludekFunct6Maskto exclude Zbs instructions which are encoded
like shift instructions.Shamt: Don't allow Imm32 variants.SetShamt: Add separateSetShamt32setter for Imm32 variant.SetIShiftFormat,SetIShift32Format: Split fromSetIFormatto handle
shift amount correctly. (Needed for Zbs extension instructions.)OpcodeRISCV: Add concept to allow opcodes from extensions.
| Assignee | ||
Comment 3•4 months ago
|
||
This avoids code duplication and will allow to import more code from LLVM in part 4.
| Assignee | ||
Comment 4•4 months ago
|
||
Import more code from LLVM's RISCVMatInt file to add extension-specific
optimisations. Also remove Assembler::GeneralLi because it's for the most
redundant with "AssemblerMatInt.cpp".
Pushed by andre.bargull@gmail.com:
https://github.com/mozilla-firefox/firefox/commit/f6c38c421928
https://hg.mozilla.org/integration/autoland/rev/e1f8559676a3
Part 1: Remove unused argument from insertEntryForwards. r=spidermonkey-reviewers,jandem
https://github.com/mozilla-firefox/firefox/commit/68f2608ed58a
https://hg.mozilla.org/integration/autoland/rev/637679617ffa
Part 2: Instruction class changes. r=spidermonkey-reviewers,jandem
https://github.com/mozilla-firefox/firefox/commit/69bf07bb2e49
https://hg.mozilla.org/integration/autoland/rev/ca53483b8462
Part 3: Add InstSeq to avoid duplication in RecursiveLi. r=spidermonkey-reviewers,jandem
https://github.com/mozilla-firefox/firefox/commit/5683d6c9747c
https://hg.mozilla.org/integration/autoland/rev/e0662572822c
Part 4: Import more code from RISCVMatInt. r=spidermonkey-reviewers,jandem
Comment 6•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/e1f8559676a3
https://hg.mozilla.org/mozilla-central/rev/637679617ffa
https://hg.mozilla.org/mozilla-central/rev/ca53483b8462
https://hg.mozilla.org/mozilla-central/rev/e0662572822c
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
status-firefox154:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Updated•3 months ago
|
QA Whiteboard: [qa-triage-done-c155/b154]
You need to log in
before you can comment on or make changes to this bug.
Description
•