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

Issue 6342019: ARM: Initial type recording binary operation stub... (Closed)

Created:
9 years, 11 months ago by Søren Thygesen Gjesse
Modified:
9 years, 11 months ago
CC:
v8-dev
Visibility:
Public.

Description

ARM: Initial type recording binary operation stub This implements the type recording binary operation stub for ARM. This first iteration only supports ADD. Handling of 32-bit integers is currently not implemented but just transitions. The generic case for now delegates to the generic binary operation stub. Committed: http://code.google.com/p/v8/source/detail?r=6471

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+686 lines, -13 lines) Patch
M src/arm/code-stubs-arm.h View 1 chunk +109 lines, -0 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 3 chunks +535 lines, -2 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M src/arm/ic-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/lithium-arm.cc View 2 chunks +2 lines, -1 line 0 comments Download
M src/arm/macro-assembler-arm.h View 1 3 chunks +14 lines, -0 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 4 chunks +16 lines, -5 lines 0 comments Download
M src/ic.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Søren Thygesen Gjesse
9 years, 11 months ago (2011-01-25 11:35:01 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/6342019/diff/1/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): http://codereview.chromium.org/6342019/diff/1/src/arm/code-stubs-arm.cc#newcode2505 src/arm/code-stubs-arm.cc:2505: __ PrepareCallCFunction(4, scratch1); // Two doubles count as ...
9 years, 11 months ago (2011-01-25 14:23:17 UTC) #2
Mads Ager (chromium)
http://codereview.chromium.org/6342019/diff/1/src/arm/macro-assembler-arm.h File src/arm/macro-assembler-arm.h (right): http://codereview.chromium.org/6342019/diff/1/src/arm/macro-assembler-arm.h#newcode744 src/arm/macro-assembler-arm.h:744: void JumpIfSmi(Register reg, Label* on_smi); Don't we have BranchOnSmi? ...
9 years, 11 months ago (2011-01-25 14:25:09 UTC) #3
Søren Thygesen Gjesse
9 years, 11 months ago (2011-01-25 14:49:40 UTC) #4
http://codereview.chromium.org/6342019/diff/1/src/arm/code-stubs-arm.cc
File src/arm/code-stubs-arm.cc (right):

http://codereview.chromium.org/6342019/diff/1/src/arm/code-stubs-arm.cc#newco...
src/arm/code-stubs-arm.cc:2505: __ PrepareCallCFunction(4, scratch1);  // Two
doubles count as 4 arguments.
On 2011/01/25 14:23:17, Mads Ager wrote:
> Long line.

Done.

http://codereview.chromium.org/6342019/diff/1/src/arm/macro-assembler-arm.h
File src/arm/macro-assembler-arm.h (right):

http://codereview.chromium.org/6342019/diff/1/src/arm/macro-assembler-arm.h#n...
src/arm/macro-assembler-arm.h:744: void JumpIfSmi(Register reg, Label* on_smi);
On 2011/01/25 14:25:09, Mads Ager wrote:
> Don't we have BranchOnSmi? Either use that one or get rid of it?

You are right - changed to use BranchOnSmi. There is a mixture of BranchOn* and
JumpIf* in the ARM macro assembler.

Powered by Google App Engine
This is Rietveld 408576698