DescriptionARM: Fix instruction double to i
The double to i convertion should round to zero not infinity.
Thes bug was revealed by http://codereview.chromium.org/6597003, where the value of (x * 1.0000000001) | 0 was x - 1 and not x when x was a negative smi.
I will not commit http://codereview.chromium.org/6597003 before this is committed.
TEST=test/mjsunit/smi-ops-inlined.js
Committed: http://code.google.com/p/v8/source/detail?r=6951
Patch Set 1 #Patch Set 2 : '' #Messages
Total messages: 3 (0 generated)
|