Closed Bug 513049 Opened 16 years ago Closed 16 years ago

TM: add env var to force-disable SSE

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: graydon, Assigned: graydon)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

Attached patch Add env varSplinter Review
Our SSE-detection code is unconditional. Sometimes -- mainly for testing -- it's useful to force-disable SSE and fall back to x87. We have support for this kind of thing in the ARM code already, just not x86. The attached patch adds a corresponding x86 env var.
Attachment #397079 - Flags: review?(gal)
Comment on attachment 397079 [details] [diff] [review] Add env var How about we just add an option to TMFLAGS for this? Like "nosse" and "sse"?
Attachment #397079 - Flags: review?(gal) → review+
Well, it's kinda a misuse of it. So far TMFLAGS controls debug output, but it doesn't influence the "end-user" output of the program. Maybe a different env var?
As I said in the bug, there are already ARM_FORCE_HWCAP and ARM_FORCE_PLATFORM variables read in the ARM-specific setup code, I am just mimicking that.
Whiteboard: fixed-in-tracemonkey
Status: NEW → RESOLVED
Closed: 16 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: