Open Bug 1103786 Opened 9 years ago Updated 7 months ago

IonMonkey: optimize when compiling for 'almost asm.js' code.

Categories

(Core :: JavaScript Engine: JIT, defect, P5)

defect

Tracking

()

REOPENED

People

(Reporter: dougc, Unassigned)

Details

I am seeing performance from Ion that is almost on par with Odin in the zlib benchmark, but only when changing a few settings. For example: using the backtracking register allocate, and accepting larger scripts. I am aware that some app developers write 'almost asm.js' code - code that does not validate as asm.js but that might still have a 'use asm' module.

Might it be useful to have Ion detect the 'use asm' string and modify the Ion compilation strategy when it does?

Emscripten generates an 'almost asm' string that might also be usefully detected?
To wit, this is what V8 seems to be doing with TurboFan: https://code.google.com/p/v8/source/detail?r=24083
Depends on: jsperf
Priority: -- → P5
No longer depends on: jsperf
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.