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

Issue 2497243002: [stubs] Port builtin for Array.push fast-case from Crankshaft to TF (Closed)

Created:
4 years, 1 month ago by danno
Modified:
4 years ago
Reviewers:
ishell, Jakob Kummerow
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[stubs] Port builtin for Array.push fast-case from Crankshaft to TF Improves performance in simple, single element case by 5% and in multiple elements cases by 2%. BUG=chromium:608675 LOG=N Committed: https://crrev.com/df2578d2ec630ccd08619e1f733da3f61e7ee380 Cr-Commit-Position: refs/heads/master@{#41368}

Patch Set 1 #

Patch Set 2 : Fix other platforms #

Patch Set 3 : Latest #

Patch Set 4 : Rebase #

Patch Set 5 : Better 64-bit implementation #

Patch Set 6 : Fix stuff #

Patch Set 7 : Fix tests #

Patch Set 8 : Optimize #

Patch Set 9 : Faster stub #

Patch Set 10 : Add test #

Patch Set 11 : Cleanup #

Patch Set 12 : Remove extraneous changes #

Patch Set 13 : Fix copyright date #

Patch Set 14 : Cleanup #

Total comments: 55

Patch Set 15 : Review feedback #

Patch Set 16 : Tweaks #

Patch Set 17 : Fix stuff #

Patch Set 18 : Fix GC mole #

Unified diffs Side-by-side diffs Delta from patch set Stats (+557 lines, -251 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -5 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -5 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/builtins-array.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +164 lines, -15 lines 0 comments Download
M src/code-factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M src/code-factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -0 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +27 lines, -4 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 chunks +143 lines, -22 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +0 lines, -10 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 1 chunk +0 lines, -152 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -5 lines 0 comments Download
M src/interface-descriptors.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M src/interface-descriptors.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +8 lines, -3 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -5 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -5 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M src/runtime/runtime-array.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -6 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -5 lines 0 comments Download
M test/cctest/test-code-stub-assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +131 lines, -0 lines 0 comments Download
A test/mjsunit/array-push-hole-double.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +23 lines, -0 lines 0 comments Download
M test/mjsunit/array-push11.js View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -8 lines 0 comments Download
A test/mjsunit/array-push13.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +22 lines, -0 lines 0 comments Download
A test/mjsunit/array-push14.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 68 (60 generated)
danno
PTAL
4 years, 1 month ago (2016-11-18 15:08:23 UTC) #41
Jakob Kummerow
Looks good! Mostly nits. https://codereview.chromium.org/2497243002/diff/260001/src/builtins/builtins-array.cc File src/builtins/builtins-array.cc (right): https://codereview.chromium.org/2497243002/diff/260001/src/builtins/builtins-array.cc#newcode199 src/builtins/builtins-array.cc:199: { nit: this identation level ...
4 years ago (2016-11-23 17:17:06 UTC) #42
danno
Please take another look https://codereview.chromium.org/2497243002/diff/260001/src/builtins/builtins-array.cc File src/builtins/builtins-array.cc (right): https://codereview.chromium.org/2497243002/diff/260001/src/builtins/builtins-array.cc#newcode199 src/builtins/builtins-array.cc:199: { On 2016/11/23 17:17:05, Jakob ...
4 years ago (2016-11-29 14:40:00 UTC) #52
Jakob Kummerow
lgtm
4 years ago (2016-11-29 15:06:03 UTC) #53
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/2497243002/320001
4 years ago (2016-11-29 15:09:14 UTC) #55
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/2497243002/340001
4 years ago (2016-11-29 16:56:20 UTC) #63
commit-bot: I haz the power
Committed patchset #18 (id:340001)
4 years ago (2016-11-29 16:58:05 UTC) #66
commit-bot: I haz the power
4 years ago (2016-11-29 16:58:43 UTC) #68
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/df2578d2ec630ccd08619e1f733da3f61e7ee380
Cr-Commit-Position: refs/heads/master@{#41368}

Powered by Google App Engine
This is Rietveld 408576698