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

Issue 2078028: X64: Added inline conversion of double to smi for LikelySmiBinaryOp shifts. (Closed)

Created:
10 years, 7 months ago by Lasse Reichstein
Modified:
9 years, 6 months ago
Reviewers:
William Hesse
CC:
v8-dev
Visibility:
Public.

Description

X64: Added inline conversion of double to smi for LikelySmiBinaryOp shifts.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -1 line) Patch
M src/x64/codegen-x64.cc View 1 chunk +37 lines, -1 line 1 comment Download

Messages

Total messages: 2 (0 generated)
Lasse Reichstein
Small review.
10 years, 7 months ago (2010-05-21 08:25:12 UTC) #1
William Hesse
10 years, 7 months ago (2010-05-21 09:05:27 UTC) #2
LGTM.

http://codereview.chromium.org/2078028/diff/1/2
File src/x64/codegen-x64.cc (right):

http://codereview.chromium.org/2078028/diff/1/2#newcode7039
src/x64/codegen-x64.cc:7039: // Load integer value into answer register using
truncation.
This is the case we also hope to avoid by using the to_int32 information on the
expression producing the left operand.  Have we implemented that (on adds and
multiplies, for example?)

Powered by Google App Engine
This is Rietveld 408576698