Closed
Bug 916413
Opened 11 years ago
Closed 11 years ago
Odinmonkey: disable attempts to hoist bounds checks when compiling asm.js code as it is not applicable
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: dougc, Assigned: dougc)
References
(Blocks 1 open bug)
Details
(Whiteboard: [games])
Attachments
(1 file)
3.45 KB,
patch
|
luke
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
The range analysis implements hoisting of bounds checks for Ion Jit code. However the approach is not applicable to Asm.js code and it is a waste of time scanning for bounds checks, so this patch disables this specific pass. It is a small step towards defining what is needed from Range Analysis for asm.js code. The actual loop analysis can be useful for asm.js when it proves limits to heap indexes as this can help avoid asm.js style heap access bounds checks, and knowing the loop stride could help avoid low bit masking (although the current code only handles a loop stride of one).
Attachment #804839 -
Flags: review?(luke)
Comment 2•11 years ago
|
||
Comment on attachment 804839 [details] [diff] [review] Disable attempts to hoist bounds checks when compiling asm.js code as it is not applicable Great
Attachment #804839 -
Flags: review?(luke) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6bfcffd02d97
Keywords: checkin-needed
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6bfcffd02d97
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 804839 [details] [diff] [review] Disable attempts to hoist bounds checks when compiling asm.js code as it is not applicable [Approval Request Comment] Bug caused by (feature/regressing bug #): not a bug User impact if declined: minor performance improvement missed. Testing completed (on m-c, etc.): Risk to taking this patch (and alternatives if risky): low String or IDL/UUID changes made by this patch:
Attachment #804839 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #804839 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Updated•11 years ago
|
Whiteboard: [games]
Comment 6•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/23db27f2be5b
status-firefox26:
--- → fixed
status-firefox27:
--- → fixed
Updated•11 years ago
|
Assignee: general → dtc-moz
Updated•11 years ago
|
Blocks: gecko-games
You need to log in
before you can comment on or make changes to this bug.
Description
•