Closed Bug 527139 Opened 15 years ago Closed 15 years ago

lirasm: ARM has no integer-divide instruction, but we emit LIR_div

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: graydon, Assigned: graydon)

Details

(Whiteboard: fixed-in-nanojit)

Attachments

(1 file)

Attached patch fix the bugSplinter Review
Tracemonkey is good enough to limit itself to using integer div and mod only on intel platforms. Tamarin doesn't use them at all. Lirasm is a bit too aggressive about using them, and hence crashes ARM (and probably PPC and Sparc).
Attachment #410889 - Flags: review?(rreitmai)
Attachment #410889 - Flags: review?(rreitmai) → review+
http://hg.mozilla.org/mozilla-central/rev/2aaddc1ae361
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: