Closed
Bug 1322728
Opened 8 years ago
Closed 8 years ago
[meta] Wasm baseline: Atomics
Categories
(Core :: JavaScript Engine: JIT, defect, P3)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: lth, Unassigned)
References
Details
Currently the wasm baseline compiler does not compile translated asm.js functions that use atomics. We should change this. I don't think this is particularly hard but it may be a fair amount of work (and it can be done piecemeal).
If we wait for bug 1312751 to land we get fence generation for load and store almost for free, though it's not hard to add fence generation to the existing load/store infrastructure in baseline.
In addition to that we need to implement exchange, add, sub, and, xor, and or, as well as compareExchange.
We need this on x64, x86, and ARM.
Existing MacroAssembler abstractions are probably sufficient, but if they aren't we should factor code out of the CodeGenerators into the upper MacroAssembler level.
| Reporter | ||
Comment 1•8 years ago
|
||
Baseline will not support asm.js atomics (indeed no longer supports asm.js). We'll create a new bug when we want to implement wasm atomics in baseline.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•