Closed
Bug 811489
Opened 13 years ago
Closed 13 years ago
Arguments in powHalfD are backwards
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: mjrosenb, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
15.72 KB,
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
as in summary.
Attachment #681224 -
Flags: review?(kvijayan)
Updated•13 years ago
|
Attachment #681224 -
Flags: review?(kvijayan) → review+
Reporter | ||
Comment 1•13 years ago
|
||
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 2•13 years ago
|
||
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+
Comment 3•13 years ago
|
||
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.
Description
•