Closed Bug 918815 Opened 11 years ago Closed 11 years ago

Use xorps for float32 zero constants on x86

Categories

(Core :: JavaScript Engine, enhancement)

x86
All
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: sunfish, Assigned: bbouvier)

References

Details

Attachments

(1 file)

x64's loadConstantFloat32 now optimizes zero constants with xorps; it would be good to perform this optimization on x86 too. Also, x86 and x64 already share similar code for doubles, via maybeInlineDouble, so perhaps an analogous mechanism for float32 would be apropos.
Attached patch fixSplinter Review
Assignee: general → bbouvier
Status: NEW → ASSIGNED
Attachment #807901 - Flags: review?(sstangl)
Attachment #807901 - Flags: review?(sstangl) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: