Closed Bug 1112641 Opened 11 years ago Closed 9 years ago

Re-enable regalloc optimizations when backtracking allocator is enabled by default

Categories

(Core :: JavaScript Engine: JIT, enhancement, P5)

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: sunfish, Unassigned)

References

Details

Bug 1100123, bug 1099216, bug 1103389, and bug 1096138 all require workarounds for limitations in the LSRA register allocator. Since the plan is to eventually make backtracking be enabled by default, when that happens, we should revisit those patches to see if the optimizations can be re-enabled.
So can this be revisited at this point or is another bug taken the thunder out of this one?
Seems like this should be doable now.
Flags: needinfo?(hv1989)
Priority: -- → P5
Seems only the workarounds for SIMD instructions are left. bug 1096138 is already fixed. Benjamin can you take a look if removing the workarounds would give better code?
Flags: needinfo?(hv1989) → needinfo?(bbouvier)
Tried to remove all of them, but it was crashing in some other places (MoveEmitter doesn't allow moves of registers from one type to another different type). At this point, considering that SIMD.js has stalled a bit, and until SIMD gets in wasm, we might probably invest in Cretonne instead of spending too much time on Spidermonkey's issues. Closing as WONTFIX, but if somebody else wanted to have a deeper look, feel free!
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(bbouvier)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.