Closed
Bug 1946086
Opened 2 months ago
Closed 2 months ago
Support three operand shift/bitwise operations when one operand is an immediate
Categories
(Core :: JavaScript Engine: JIT, enhancement)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
137 Branch
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
Support three operand shift/bitwise operations to replace:
masm.move32(src, dest);
masm.rshift32(Imm32(n), dest);
with:
masm.rshift32(Imm32(n), src, dest);
This helps to avoid a register move for non-x86/x64 targets.
Assignee | ||
Comment 1•2 months ago
|
||
Part 2 will update code to use the three-operand functions.
Assignee | ||
Comment 2•2 months ago
|
||
Assignee | ||
Comment 3•2 months ago
|
||
Part 4 will update code to use the three-operand functions.
Assignee | ||
Comment 4•2 months ago
|
||
Assignee | ||
Comment 5•2 months ago
|
||
Use the existing three operand method in two places.
Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/dfe5282ff253
Part 1: Add three-operand shift operations. r=jandem
https://hg.mozilla.org/integration/autoland/rev/299fa59e05df
Part 2: Use three-operand shift instructions. r=jandem
https://hg.mozilla.org/integration/autoland/rev/fa847db27e7b
Part 3: Add three-operand bitwise operations. r=jandem
https://hg.mozilla.org/integration/autoland/rev/bc8e264aecbd
Part 4: Use three-operand bitwise instructions. r=jandem
https://hg.mozilla.org/integration/autoland/rev/caf217a2262f
Part 5: Use three-operand add instruction. r=jandem
Comment 7•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dfe5282ff253
https://hg.mozilla.org/mozilla-central/rev/299fa59e05df
https://hg.mozilla.org/mozilla-central/rev/fa847db27e7b
https://hg.mozilla.org/mozilla-central/rev/bc8e264aecbd
https://hg.mozilla.org/mozilla-central/rev/caf217a2262f
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox137:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•