Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Issue 6594008: ARM: Fix instruction double to i... (Closed)

Created:
9 years, 10 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
Reviewers:
Karl Klose
CC:
v8-dev
Visibility:
Public.

Description

ARM: 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 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -4 lines) Patch
M src/arm/lithium-codegen-arm.cc View 1 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Søren Thygesen Gjesse
9 years, 10 months ago (2011-02-25 12:45:42 UTC) #1
Karl Klose
LGTM.
9 years, 10 months ago (2011-02-25 12:53:40 UTC) #2
Søren Thygesen Gjesse
9 years, 10 months ago (2011-02-25 12:55:02 UTC) #3
Updated change to use same rounding mode for both truncating and non-truncating
double to i, as for the non-truncating we check that the conversion was exact
anyway.

Powered by Google App Engine
This is Rietveld 408576698