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

Issue 988653003: Use platform specific stubs for vector-based Load/KeyedLoad. (Closed)

Created:
5 years, 9 months ago by mvstanton
Modified:
5 years, 9 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Use platform specific stubs for vector-based Load/KeyedLoad. A hydrogen code stub is not the best approach because it builds a frame and doesn't have the technology to discard roots at tail call exits. Platform-specific stubs provide much better performance at this point. R=verwaest@chromium.org BUG= Committed: https://crrev.com/34a1a76ddf30109f7b6cb60aa2651493ab38660a Cr-Commit-Position: refs/heads/master@{#27235}

Patch Set 1 #

Patch Set 2 : Fix arm64 typo. #

Patch Set 3 : slot_count = FLAG_vector_ics ? 2 : 1. #

Total comments: 22

Patch Set 4 : Code comment response. #

Total comments: 15

Patch Set 5 : REBASE. #

Patch Set 6 : Code comments. #

Patch Set 7 : Turned off flag. #

Patch Set 8 : Fixed ARM64 typo. #

Patch Set 9 : Included the MIPs port from Paul and Akos. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1579 lines, -393 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 3 chunks +238 lines, -4 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 4 5 6 7 3 chunks +235 lines, -4 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 2 chunks +30 lines, -19 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 1 chunk +0 lines, -20 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 2 chunks +0 lines, -220 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 2 chunks +226 lines, -4 lines 0 comments Download
M src/ic/ic.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 4 5 6 7 8 3 chunks +242 lines, -4 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 3 4 5 6 7 8 3 chunks +242 lines, -4 lines 0 comments Download
M src/type-feedback-vector.h View 1 2 3 8 chunks +23 lines, -21 lines 0 comments Download
M src/type-feedback-vector.cc View 1 2 3 13 chunks +119 lines, -85 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 2 chunks +220 lines, -4 lines 0 comments Download
M test/cctest/test-feedback-vector.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
mvstanton
Hi Toon, Here is the CL we discussed. I'll probably add a MIPS port as ...
5 years, 9 months ago (2015-03-06 09:37:42 UTC) #1
mvstanton
Hi Toon, Here is an updated CL with 1) FLAG_vector_ics off, 2) Addressed an issue ...
5 years, 9 months ago (2015-03-09 12:32:30 UTC) #3
Toon Verwaest
Just ia32 for now https://codereview.chromium.org/988653003/diff/60001/src/code-stubs-hydrogen.cc File src/code-stubs-hydrogen.cc (right): https://codereview.chromium.org/988653003/diff/60001/src/code-stubs-hydrogen.cc#newcode117 src/code-stubs-hydrogen.cc:117: void HandleMonoCase(HValue* weak_cell, HValue* receiver, ...
5 years, 9 months ago (2015-03-11 17:55:02 UTC) #4
mvstanton
Hi Toon, Here you go. I've removed the x64 optimizations that just aren't worth it ...
5 years, 9 months ago (2015-03-12 17:05:34 UTC) #5
Benedikt Meurer
ARM looks good to me. https://codereview.chromium.org/988653003/diff/80001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/988653003/diff/80001/src/arm/code-stubs-arm.cc#newcode4467 src/arm/code-stubs-arm.cc:4467: // TODO(mvstanton): does this ...
5 years, 9 months ago (2015-03-16 10:30:17 UTC) #7
Toon Verwaest
Looking great. Some final comments; we discussed all of them offline. https://codereview.chromium.org/988653003/diff/80001/src/x64/code-stubs-x64.cc File src/x64/code-stubs-x64.cc (right): ...
5 years, 9 months ago (2015-03-16 11:39:54 UTC) #8
mvstanton
Thanks guys, I've updated the CL. --Michael https://codereview.chromium.org/988653003/diff/80001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/988653003/diff/80001/src/arm/code-stubs-arm.cc#newcode4467 src/arm/code-stubs-arm.cc:4467: // TODO(mvstanton): ...
5 years, 9 months ago (2015-03-16 13:59:40 UTC) #9
Toon Verwaest
lgtm
5 years, 9 months ago (2015-03-16 14:14:53 UTC) #10
Benedikt Meurer
LGTM for ARM. Land it! :-)
5 years, 9 months ago (2015-03-16 16:34:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/988653003/180001
5 years, 9 months ago (2015-03-17 11:06:39 UTC) #14
commit-bot: I haz the power
Committed patchset #9 (id:180001)
5 years, 9 months ago (2015-03-17 11:28:15 UTC) #15
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 11:28:44 UTC) #16
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/34a1a76ddf30109f7b6cb60aa2651493ab38660a
Cr-Commit-Position: refs/heads/master@{#27235}

Powered by Google App Engine
This is Rietveld 408576698