Closed
Bug 729725
Opened 12 years ago
Closed 12 years ago
IonMonkey: MTruncateToInt32 should support constant folding
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mjrosenb, Unassigned)
Details
Attachments
(1 file)
1.60 KB,
patch
|
sstangl
:
review+
|
Details | Diff | Splinter Review |
If you have |x & 0xffffffff|, 0xffffffff is encoded as 4294967295.0 (the double), then is converted to -1 (the integer) at runtime, every time the constant is needed. This speeds up nsieve by 11%, and md5 by 17% (on ARM) It probably has similar benefits on x86 and x64.
Attachment #599782 -
Flags: review?(sstangl)
Updated•12 years ago
|
Attachment #599782 -
Flags: review?(sstangl) → review+
Reporter | ||
Comment 1•12 years ago
|
||
landed: http://hg.mozilla.org/projects/ionmonkey/rev/3436c259fb42
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•