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

Issue 2452002: ARM: Track Smis on top 4 stack positions and Smi loop variables.... (Closed)

Created:
10 years, 6 months ago by Erik Corry
Modified:
10 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

ARM: Track Smis on top 4 stack positions and Smi loop variables. Improve code generation for known smis and suspected Smis. Committed: http://code.google.com/p/v8/source/detail?r=4783

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+506 lines, -174 lines) Patch
M src/arm/codegen-arm.h View 1 7 chunks +67 lines, -14 lines 0 comments Download
M src/arm/codegen-arm.cc View 1 32 chunks +346 lines, -130 lines 4 comments Download
M src/arm/jump-target-arm.cc View 2 chunks +11 lines, -2 lines 0 comments Download
M src/arm/virtual-frame-arm.h View 6 chunks +36 lines, -7 lines 0 comments Download
M src/arm/virtual-frame-arm.cc View 14 chunks +28 lines, -16 lines 0 comments Download
M src/arm/virtual-frame-arm-inl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/data-flow.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/type-info.h View 1 chunk +1 line, -1 line 0 comments Download
M src/virtual-frame-light.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/virtual-frame-light-inl.h View 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Erik Corry
10 years, 6 months ago (2010-06-01 15:41:52 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/2452002/diff/1/2 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/2452002/diff/1/2#newcode1228 src/arm/codegen-arm.cc:1228: new DeferredInlineSmiOperation(op, int_value, reversed, mode, tos); 4 space ...
10 years, 6 months ago (2010-06-02 08:23:03 UTC) #2
Erik Corry
http://codereview.chromium.org/2452002/diff/1/2 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/2452002/diff/1/2#newcode1228 src/arm/codegen-arm.cc:1228: new DeferredInlineSmiOperation(op, int_value, reversed, mode, tos); On 2010/06/02 08:23:03, ...
10 years, 6 months ago (2010-06-02 09:20:44 UTC) #3
Søren Thygesen Gjesse
10 years, 6 months ago (2010-06-02 09:24:01 UTC) #4
LGTM

http://codereview.chromium.org/2452002/diff/12001/13001
File src/arm/codegen-arm.cc (right):

http://codereview.chromium.org/2452002/diff/12001/13001#newcode824
src/arm/codegen-arm.cc:824: void
CodeGenerator::VirtualFrameBinaryOperation(Token::Value op,
VirtualFrameBinaryOperation -> GenericBinaryOperation now it is the only one
left?

http://codereview.chromium.org/2452002/diff/12001/13001#newcode868
src/arm/codegen-arm.cc:868: Register lhs = frame_->PopToRegister(rhs);  // Don't
pop to rhs register.
Long line.

http://codereview.chromium.org/2452002/diff/12001/13001#newcode1148
src/arm/codegen-arm.cc:1148: VirtualFrameBinaryOperation(op, mode,
GENERATE_INLINE_SMI, kUnknownIntValue);
Long line.

http://codereview.chromium.org/2452002/diff/12001/13001#newcode3497
src/arm/codegen-arm.cc:3497: if (literal != NULL) inline_smi =
DONT_GENERATE_INLINE_SMI;
Maybe assert !literal.IsSmi() when it is != NULL (more like this below).

Powered by Google App Engine
This is Rietveld 408576698