Closed Bug 596457 Opened 14 years ago Closed 14 years ago

JM: Turn off methodjit if SSE2 is not supported

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- beta7+

People

(Reporter: dmandelin, Assigned: dvander)

References

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

We think lack of SSE2 is the main cause of the topcrash in bug 595351. 

The assembler should already have an SSE2 detector, so for now, we can just check for SSE2 before calling into the methodjit.
blocking2.0: --- → ?
Attached patch fixSplinter Review
Tested on a 633MHz Celeron to have fixed the problem.
Assignee: general → dvander
Status: NEW → ASSIGNED
Attachment #475655 - Flags: review?(dmandelin)
Comment on attachment 475655 [details] [diff] [review]
fix

I didn't even know we had that updateJITEnabled thing. It is good.
Attachment #475655 - Flags: review?(dmandelin) → review+
http://hg.mozilla.org/tracemonkey/rev/89283cd55a98

This should probably land on m-c early - can someone set a blocking flag?
Whiteboard: fixed-in-tracemonkey
According to AWFY Tracemonkey seems borked with this.
Thanks, good catch, I accidentally inverted a test.

http://hg.mozilla.org/tracemonkey/rev/b9113b21b88c
Blocks: 596863
sayrer, can you mark blocking?
http://hg.mozilla.org/mozilla-central/rev/89283cd55a98
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
blocking2.0: ? → beta7+
(In reply to comment #7)
> http://hg.mozilla.org/mozilla-central/rev/89283cd55a98

This does not including David's followup linked in comment 5.

BTW, I think if (!(a || b)) is always less clear (more cluttered, harder to read, requiring mental application of De Morgan's Theorem) than if (!a && !b). rs=me on a fix to do that.

/be
Blocks: 595635
Blocks: 596803
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: