Closed Bug 729725 Opened 11 years ago Closed 11 years ago
Monkey: MTruncate To Int32 should support constant folding
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)
Attachment #599782 - Flags: review?(sstangl) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.