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

Issue 2206333003: [stubs] Convert GrowElementsStub to TurboFan (Closed)

Created:
4 years, 4 months ago by danno
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[stubs] Convert GrowElementsStub to TurboFan One caveat: the Crankshaft stub used to preserve callee-clobbered double registers, which is contrary to any real platform ABI that we support. Since the only current use of this stub is in Crankshaft, the instruction there now must be marked as double-clobbering. This might result in a small performance regression. However, when this stub is eventually used in TF-generated code, it will be called from deferred code that can save doubles only on the rarely-taken path... something that Crankshaft can't do. BUG=chromium:608675 Committed: https://crrev.com/eb841269235e6b438b75930878a8cb3ca745014c Cr-Commit-Position: refs/heads/master@{#38371}

Patch Set 1 #

Patch Set 2 : Remove redundancy #

Patch Set 3 : Rebase #

Patch Set 4 : Fix bugs #

Patch Set 5 : Remove dead code #

Total comments: 2

Patch Set 6 : Latest #

Patch Set 7 : review feedback #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+257 lines, -78 lines) Patch
M src/code-stub-assembler.h View 1 2 3 4 5 6 7 3 chunks +28 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 5 6 7 7 chunks +172 lines, -16 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 3 chunks +7 lines, -11 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 2 chunks +31 lines, -9 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 1 chunk +0 lines, -30 lines 0 comments Download
M src/compiler/code-assembler.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/crankshaft/arm/lithium-arm.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/arm64/lithium-arm64.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/ia32/lithium-ia32.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/mips/lithium-mips.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/mips64/lithium-mips64.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/x64/lithium-x64.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (22 generated)
danno
ptal
4 years, 4 months ago (2016-08-04 22:53:48 UTC) #8
Benedikt Meurer
LGTM, thanks. https://codereview.chromium.org/2206333003/diff/80001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/2206333003/diff/80001/src/code-stubs.cc#newcode5015 src/code-stubs.cc:5015: // TODO(danno): Make this a tail call ...
4 years, 4 months ago (2016-08-05 04:35:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2206333003/140001
4 years, 4 months ago (2016-08-05 11:10:16 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-08-05 11:12:18 UTC) #25
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 11:14:09 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/eb841269235e6b438b75930878a8cb3ca745014c
Cr-Commit-Position: refs/heads/master@{#38371}

Powered by Google App Engine
This is Rietveld 408576698