Closed Bug 811489 Opened 13 years ago Closed 13 years ago

Arguments in powHalfD are backwards

Categories

(Core :: JavaScript Engine, defect)

ARM
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: mjrosenb, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

as in summary.
Attachment #681224 - Flags: review?(kvijayan)
Attachment #681224 - Flags: review?(kvijayan) → review+
After talking with Kanan about this on irc, we decided that rather than fixing the order of arguments to the assembler, we should just use the macro assembler functions outright, fixing the macro assembler where needed. It is mostly mundane stuff.
Attachment #681224 - Attachment is obsolete: true
Attachment #681559 - Flags: review?(kvijayan)
Comment on attachment 681559 [details] [diff] [review] /home/mrosenberg/patches/fixpowHalfD-r1.patch Review of attachment 681559 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/ion/arm/CodeGenerator-arm.cpp @@ +1072,5 @@ > const LAllocation *in = box->getOperand(0); > > + //masm.as_vxfer(ToRegister(payload), ToRegister(type), > + // VFPRegister(ToFloatRegister(in)), Assembler::FloatToCore); > + masm.ma_vxfer(VFPRegister(ToFloatRegister(in)), ToRegister(payload), ToRegister(type)); Nit: remove comment with old code. @@ +1147,1 @@ > masm.as_vmrs(pc); Might want to convert as_vmrs to ma_vmrs too while you're at it.
Attachment #681559 - Flags: review?(kvijayan) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: