Closed Bug 861139 Opened 9 years ago Closed 9 years ago

ARM asm.js hard-float ABI computation errors.

Categories

(Core :: JavaScript Engine, defect)

ARM
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: dougc, Unassigned)

Details

Attachments

(1 file)

When building for an ARM system ABI that uses the hard-float standard, passing the floating point operands in registers, the asm.js code is mis-compiled and errors shows up in the asm.js jit-tests.
Just need to skip loading d0 from r0 and r1 when passing the result in d0.
Attachment #736766 - Flags: review?(mrosenberg)
Comment on attachment 736766 [details] [diff] [review]
Fix the return of a floating point value from an ARM asm.js entry.

Review of attachment 736766 [details] [diff] [review]:
-----------------------------------------------------------------

I would be very surprised if this were the only bug in the hardfp implementation, but that isn't a good reason to not land this.
Attachment #736766 - Flags: review?(mrosenberg) → review+
Keywords: checkin-needed
Status: UNCONFIRMED → NEW
Ever confirmed: true
https://hg.mozilla.org/mozilla-central/rev/fe1999ee55af
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.