Closed
Bug 985065
Opened 11 years ago
Closed 5 years ago
BaldrMonkey: callee-saved registers
Categories
(Core :: JavaScript: WebAssembly, enhancement, P5)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: sunfish, Unassigned)
References
(Blocks 1 open bug)
Details
Callee-saved registers help reduce spilling around non-inlined calls. Odin should especially be able to use callee-saved registers especially when calling from asm.js to asm.js.
Fixing this will require making sure asm.js code saves callee-saved registers as needed, make sure call sequences don't clobber callee-saved registers, and teaching the register allocation to be aware of more than just isCall().
Comment 1•11 years ago
|
||
Would you want to follow the system ABI here, or define custom conventions?
Reporter | ||
Comment 2•11 years ago
|
||
Custom conventions I expect, because it'll keep the generated code more consistent across platforms, and because we can do custom optimizations if needed. It'd be nice to avoid gratuitous deviations from the system ABI if we can help it though.
Comment 3•9 years ago
|
||
This applies to Baldr too and would be nice to have at some point.
Priority: -- → P5
Updated•9 years ago
|
Blocks: wasm
Summary: OdinMonkey: callee-saved registers → BaldrMonkey: callee-saved registers
Updated•9 years ago
|
Comment 4•7 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
Updated•7 years ago
|
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Updated•6 years ago
|
Component: JavaScript Engine: JIT → Javascript: WebAssembly
Comment 5•5 years ago
|
||
We'll wait for Cranelift.
Status: REOPENED → RESOLVED
Closed: 7 years ago → 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•