Open Bug 1141634 Opened 10 years ago Updated 18 days ago

Use recover instructions for negative zero checks

Categories

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

x86_64
Linux
defect

Tracking

()

People

(Reporter: h4writer, Unassigned)

References

(Blocks 1 open bug)

Details

We can currently remove negative zero checks: x + y only on the first 'executed' instructions. So not on x and y in all cases even if the type of both is int32. This is because we can bailout and the types will change there. Instead we could always replace "x + y" that is typed int32 if: we replace the "x+y" with "x+y, no negative zero check" and make the original "x+y" a recover instruction. That way we don't have to worry about which instruction is executed first anymore because of potential bailouts.
Priority: -- → P5
Severity: normal → S3
Blocks: sm-opt-jits
You need to log in before you can comment on or make changes to this bug.