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

Issue 20070005: Adding Smi support to Add, Sub, Mul, and Bitwise (Closed)

Created:
7 years, 5 months ago by Toon Verwaest
Modified:
7 years, 4 months ago
Reviewers:
Sven Panne, kustermann
CC:
v8-dev
Visibility:
Public.

Description

Adding Smi support to Add, Sub, Mul, and Bitwise R=svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15879

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed comments #

Patch Set 3 : Port to x64. Disable smi+constant for x64 due to 32-bit only operands #

Total comments: 2

Patch Set 4 : Ported to ARM #

Patch Set 5 : Add missing RSubI #

Patch Set 6 : Missing gap-resolver changes #

Patch Set 7 : Add bitwise support on ARM #

Total comments: 1

Patch Set 8 : Addressed nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+537 lines, -325 lines) Patch
M src/arm/lithium-arm.cc View 1 2 3 4 5 6 12 chunks +32 lines, -31 lines 0 comments Download
M src/arm/lithium-codegen-arm.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 5 chunks +31 lines, -7 lines 0 comments Download
M src/arm/lithium-gap-resolver-arm.cc View 1 2 3 4 5 2 chunks +8 lines, -8 lines 0 comments Download
M src/flag-definitions.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/hydrogen.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M src/hydrogen-canonicalize.cc View 1 chunk +12 lines, -5 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 22 chunks +111 lines, -37 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 34 chunks +156 lines, -104 lines 0 comments Download
M src/hydrogen-minus-zero.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/hydrogen-representation-changes.cc View 5 chunks +19 lines, -7 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -6 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 11 chunks +42 lines, -35 lines 0 comments Download
M src/ia32/lithium-gap-resolver-ia32.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 10 chunks +31 lines, -25 lines 0 comments Download
M src/type-info.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/types.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 7 6 chunks +44 lines, -14 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 10 chunks +28 lines, -26 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Toon Verwaest
PTAL
7 years, 5 months ago (2013-07-24 09:25:08 UTC) #1
Sven Panne
First round of comments. https://codereview.chromium.org/20070005/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/20070005/diff/1/src/hydrogen-instructions.cc#newcode3918 src/hydrogen-instructions.cc:3918: if (use_rep.IsNone() || use_rep.IsSmi()) continue; ...
7 years, 5 months ago (2013-07-24 11:38:36 UTC) #2
Toon Verwaest
Addressed comments, will port to x64 and arm. https://chromiumcodereview.appspot.com/20070005/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://chromiumcodereview.appspot.com/20070005/diff/1/src/hydrogen-instructions.cc#newcode3918 src/hydrogen-instructions.cc:3918: if ...
7 years, 5 months ago (2013-07-24 13:24:01 UTC) #3
Sven Panne
https://chromiumcodereview.appspot.com/20070005/diff/6002/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://chromiumcodereview.appspot.com/20070005/diff/6002/src/hydrogen-instructions.h#newcode4645 src/hydrogen-instructions.h:4645: } else if (op == Token::BIT_OR && Can we ...
7 years, 5 months ago (2013-07-25 06:05:58 UTC) #4
Toon Verwaest
Ported to ARM. PTAL again. https://codereview.chromium.org/20070005/diff/6002/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/20070005/diff/6002/src/hydrogen-instructions.h#newcode4645 src/hydrogen-instructions.h:4645: } else if (op ...
7 years, 5 months ago (2013-07-25 09:29:24 UTC) #5
Sven Panne
LGTM with a nit https://codereview.chromium.org/20070005/diff/21001/src/arm/lithium-codegen-arm.cc File src/arm/lithium-codegen-arm.cc (right): https://codereview.chromium.org/20070005/diff/21001/src/arm/lithium-codegen-arm.cc#newcode501 src/arm/lithium-codegen-arm.cc:501: int LCodeGen::ToInteger32(LConstantOperand* op) const { ...
7 years, 5 months ago (2013-07-25 11:48:53 UTC) #6
Toon Verwaest
Addressed comment.
7 years, 5 months ago (2013-07-25 11:51:36 UTC) #7
Toon Verwaest
Committed patchset #8 manually as r15879 (presubmit successful).
7 years, 5 months ago (2013-07-25 11:53:51 UTC) #8
kustermann
7 years, 4 months ago (2013-08-07 13:31:18 UTC) #9
Message was sent while issue was closed.
I think this CL introduced a bug. See:
https://code.google.com/p/v8/issues/detail?id=2831

Powered by Google App Engine
This is Rietveld 408576698