Closed Bug 901110 Opened 11 years ago Closed 11 years ago

IonMonkey: on x64, use a Float32 constants pool

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: bbouvier, Assigned: bbouvier)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The double constants pool on x64 has been introduced while the Float32 patch was made, so it is an nice and easy follow-up for bug 888109. I'll take care of it except if somebody beats me to it :)
Attached patch proposed fix (deleted) — Splinter Review
We are *this* close to factor all this code in MacroAssembler-x86-shared, if only we didn't have different labels for the uses in the Float and Double structs.
Assignee: general → bbouvier
Status: NEW → ASSIGNED
Attachment #807043 - Flags: review?(sstangl)
Comment on attachment 807043 [details] [diff] [review] proposed fix Review of attachment 807043 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jit/x64/MacroAssembler-x64.cpp @@ +95,5 @@ > bind(&dbl.uses); > masm.doubleConstant(dbl.value); > } > > + // No need to align on sizeof(float) as we are aligned on sizeof(double); Not necessarily -- the condition above must be changed to "if (!doubles_.empty() || !floats_.empty())".
Attachment #807043 - Flags: review?(sstangl) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Blocks: 918815
Depends on: 923328
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: