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

REOPENED
Unassigned

Status

()

P5
normal
REOPENED
4 years ago
5 months ago

People

(Reporter: dougc, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
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?

Comment 1

4 years ago
To wit, this is what V8 seems to be doing with TurboFan: https://code.google.com/p/v8/source/detail?r=24083

Updated

2 years ago
Depends on: 1307062
Priority: -- → P5
No longer depends on: 1307062

Comment 2

5 months ago
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
Last Resolved: 5 months ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
You need to log in before you can comment on or make changes to this bug.