Closed
Bug 515551
Opened 16 years ago
Closed 16 years ago
FIX_FPU should depend on __i386__ not __i486__
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| status1.9.2 | --- | beta1-fixed |
People
(Reporter: graydon, Assigned: graydon)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
|
861 bytes,
patch
|
brendan
:
review+
|
Details | Diff | Splinter Review |
I figured that any __GNUC__ compiler generating x87 instructions would define __i486__ -- mine all do -- but I guess I was wrong.
If accepted, this patch will fault with an invalid instruction if you try to initialize spidermonkey -- note, spidermonkey itself, not just tracemonkey -- on an x87-less x86 machine. If you can still find one of those, buried in cobwebs. Otherwise it just extends the FIX_FPU clobber to work in cases with surprising compiler definitions.
Attachment #399651 -
Flags: review?(brendan)
Comment 1•16 years ago
|
||
Comment on attachment 399651 [details] [diff] [review]
Enable FIX_FPU instruction sequence anywhere we have __GNUC__ and __i386__
I'm clearly not adding much value here, but r=me.
/be
Attachment #399651 -
Flags: review?(brendan) → review+
| Assignee | ||
Comment 2•16 years ago
|
||
I thought you might care that there's a possibly-new cpu/arch combo that might not start up spidermonkey. If not, I'll carry on.
| Assignee | ||
Comment 3•16 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 4•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 5•16 years ago
|
||
status1.9.2:
--- → beta1-fixed
Flags: wanted1.9.2+
| Assignee | ||
Updated•16 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•