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

Issue 146081: X64: Implemented LikelySmiBinaryOperation (Closed)

Created:
11 years, 6 months ago by Lasse Reichstein
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

X64: Implemented LikelySmiBinaryOperation

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+442 lines, -17 lines) Patch
M src/x64/codegen-x64.cc View 8 chunks +442 lines, -17 lines 4 comments Download

Messages

Total messages: 2 (0 generated)
Lasse Reichstein
Straight conversion from ia32.
11 years, 6 months ago (2009-06-24 11:22:09 UTC) #1
William Hesse
11 years, 6 months ago (2009-06-24 11:39:35 UTC) #2
LGTM, with comments.

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

http://codereview.chromium.org/146081/diff/1/2#newcode40
Line 40: #include "macro-assembler.h"
Surely this was already included through a dependency, otherwise nothing would
have been working.

If this is the right master dependency, then remove others, otherwise, remove
this.

http://codereview.chromium.org/146081/diff/1/2#newcode1410
Line 1410: frame_->Push(kScratchRegister);
This must be reversed again - we cannot push kScratchRegister on the virtual
frame.

http://codereview.chromium.org/146081/diff/1/2#newcode2920
Line 2920: __ addq(answer.reg(), right->reg());  // Add optimistically.
I think we want addl here.

http://codereview.chromium.org/146081/diff/1/2#newcode2925
Line 2925: __ subq(answer.reg(), right->reg());  // Subtract optimistically.
subl

Powered by Google App Engine
This is Rietveld 408576698