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

Issue 767743002: Hydrogen code stubs for vector-based ICs. (Closed)

Created:
6 years ago by mvstanton
Modified:
6 years ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Hydrogen code stubs for vector-based ICs. This patch finally allows running and passing tests with vector-based Load and KeyedLoad ICs. BUG= R=jkummerow@chromium.org Committed: https://chromium.googlesource.com/v8/v8/+/22302b51790a42231b67c18494cfbe17537e0d0b

Patch Set 1 : Patch One. #

Total comments: 33

Patch Set 2 : Comment response. #

Total comments: 11

Patch Set 3 : Ports and fixes. #

Patch Set 4 : Code comment response (mostly). #

Total comments: 2

Patch Set 5 : To aid porters. THESE CHANGES WILL NOT GO IN. #

Patch Set 6 : REBASE. #

Total comments: 1

Patch Set 7 : Bugfix: keyed loads with string key were bailing out. #

Patch Set 8 : x87 port from Weiliang. #

Patch Set 9 : REBASE and MIPS port. #

Patch Set 10 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1679 lines, -494 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 2 chunks +15 lines, -4 lines 0 comments Download
M src/arm/lithium-arm.h View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -5 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 2 3 4 5 4 chunks +12 lines, -4 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 2 chunks +75 lines, -34 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 2 chunks +12 lines, -1 line 0 comments Download
M src/arm64/lithium-arm64.h View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -5 lines 0 comments Download
M src/arm64/lithium-arm64.cc View 1 2 4 chunks +12 lines, -4 lines 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 2 3 4 5 6 7 8 3 chunks +63 lines, -30 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 4 5 6 5 chunks +198 lines, -8 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -7 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 8 9 chunks +86 lines, -26 lines 0 comments Download
M src/hydrogen-instructions.cc View 3 chunks +8 lines, -1 line 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 2 chunks +20 lines, -3 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 7 8 2 chunks +62 lines, -23 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -4 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 4 chunks +12 lines, -4 lines 0 comments Download
M src/ic/access-compiler.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/ic/arm/handler-compiler-arm.cc View 1 2 3 4 5 6 7 8 7 chunks +35 lines, -1 line 0 comments Download
M src/ic/arm/ic-arm.cc View 1 2 4 chunks +12 lines, -6 lines 0 comments Download
M src/ic/arm/ic-compiler-arm.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M src/ic/arm/stub-cache-arm.cc View 1 2 7 chunks +24 lines, -18 lines 0 comments Download
M src/ic/arm64/handler-compiler-arm64.cc View 1 2 3 4 5 6 7 8 7 chunks +34 lines, -1 line 0 comments Download
M src/ic/arm64/ic-arm64.cc View 1 2 4 chunks +11 lines, -5 lines 0 comments Download
M src/ic/arm64/ic-compiler-arm64.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M src/ic/arm64/stub-cache-arm64.cc View 1 2 6 chunks +23 lines, -9 lines 0 comments Download
M src/ic/handler-compiler.h View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -1 line 0 comments Download
M src/ic/handler-compiler.cc View 1 2 3 4 5 6 7 8 12 chunks +65 lines, -12 lines 0 comments Download
M src/ic/ia32/handler-compiler-ia32.cc View 1 2 3 4 5 6 7 8 8 chunks +36 lines, -3 lines 0 comments Download
M src/ic/ia32/ic-compiler-ia32.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -2 lines 0 comments Download
M src/ic/ia32/ic-ia32.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M src/ic/ia32/stub-cache-ia32.cc View 1 2 7 chunks +30 lines, -9 lines 0 comments Download
M src/ic/ic.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -6 lines 0 comments Download
M src/ic/ic.cc View 1 2 3 4 5 6 4 chunks +36 lines, -11 lines 0 comments Download
M src/ic/mips/handler-compiler-mips.cc View 1 2 3 4 5 6 7 8 7 chunks +33 lines, -1 line 0 comments Download
M src/ic/mips/ic-compiler-mips.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M src/ic/mips/ic-mips.cc View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -6 lines 0 comments Download
M src/ic/mips/stub-cache-mips.cc View 1 2 3 4 5 6 7 8 7 chunks +24 lines, -18 lines 0 comments Download
M src/ic/mips64/handler-compiler-mips64.cc View 1 2 3 4 5 6 7 8 7 chunks +33 lines, -1 line 0 comments Download
M src/ic/mips64/ic-compiler-mips64.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M src/ic/mips64/ic-mips64.cc View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -6 lines 0 comments Download
M src/ic/mips64/stub-cache-mips64.cc View 1 2 3 4 5 6 7 8 7 chunks +24 lines, -18 lines 0 comments Download
M src/ic/stub-cache.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M src/ic/x64/handler-compiler-x64.cc View 1 2 3 4 5 6 7 8 7 chunks +35 lines, -1 line 0 comments Download
M src/ic/x64/ic-compiler-x64.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M src/ic/x64/ic-x64.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M src/ic/x64/stub-cache-x64.cc View 1 2 6 chunks +23 lines, -9 lines 0 comments Download
M src/ic/x87/handler-compiler-x87.cc View 1 2 3 4 5 6 7 8 8 chunks +36 lines, -3 lines 0 comments Download
M src/ic/x87/ic-compiler-x87.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -2 lines 0 comments Download
M src/ic/x87/ic-x87.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M src/ic/x87/stub-cache-x87.cc View 1 2 3 4 5 6 7 7 chunks +31 lines, -9 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -3 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 2 3 4 5 6 7 8 2 chunks +58 lines, -25 lines 0 comments Download
M src/mips/lithium-mips.h View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -5 lines 0 comments Download
M src/mips/lithium-mips.cc View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -4 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -3 lines 0 comments Download
M src/mips64/lithium-codegen-mips64.cc View 1 2 3 4 5 6 7 8 2 chunks +58 lines, -25 lines 0 comments Download
M src/mips64/lithium-mips64.h View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -5 lines 0 comments Download
M src/mips64/lithium-mips64.cc View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -4 lines 0 comments Download
M src/type-feedback-vector.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M src/type-feedback-vector.cc View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -9 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 2 chunks +12 lines, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 7 8 2 chunks +51 lines, -23 lines 0 comments Download
M src/x64/lithium-x64.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -3 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 4 chunks +12 lines, -4 lines 0 comments Download
M src/x87/code-stubs-x87.cc View 1 2 3 4 5 6 7 8 2 chunks +21 lines, -3 lines 0 comments Download
M src/x87/lithium-codegen-x87.cc View 1 2 3 4 5 6 7 8 2 chunks +62 lines, -23 lines 0 comments Download
M src/x87/lithium-x87.h View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -4 lines 0 comments Download
M src/x87/lithium-x87.cc View 1 2 3 4 5 6 7 4 chunks +12 lines, -4 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M test/cctest/test-feedback-vector.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -2 lines 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 4 5 6 7 8 9 chunks +29 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
mvstanton
Hi Jakob, Here is the rest of Load/KeyedLoadIC support for vectors. It includes: * The ...
6 years ago (2014-11-28 12:56:29 UTC) #2
Jakob Kummerow
https://codereview.chromium.org/767743002/diff/20001/src/code-stubs-hydrogen.cc File src/code-stubs-hydrogen.cc (right): https://codereview.chromium.org/767743002/diff/20001/src/code-stubs-hydrogen.cc#newcode2036 src/code-stubs-hydrogen.cc:2036: // We never return here, it is a tail ...
6 years ago (2014-12-02 08:43:07 UTC) #4
mvstanton
Hi Jakob, Thx for the comments! I've made two larger changes: * logic change in ...
6 years ago (2014-12-03 11:48:31 UTC) #6
Jakob Kummerow
LGTM with nits. https://codereview.chromium.org/767743002/diff/20001/src/code-stubs-hydrogen.cc File src/code-stubs-hydrogen.cc (right): https://codereview.chromium.org/767743002/diff/20001/src/code-stubs-hydrogen.cc#newcode2128 src/code-stubs-hydrogen.cc:2128: Add<HCheckHeapObject>(receiver); On 2014/12/03 11:48:30, mvstanton wrote: ...
6 years ago (2014-12-03 13:22:18 UTC) #7
mvstanton
Hi Jakob, Okay patch set 3 contains the ports, along with the issues found/fixed while ...
6 years ago (2014-12-08 12:44:24 UTC) #11
mvstanton
Akos, Weiliang, could you please take a look at mips and x87 ports? This change ...
6 years ago (2014-12-08 14:57:06 UTC) #13
Jakob Kummerow
Still LGTM, with one nit and a reminder about the flag. https://codereview.chromium.org/767743002/diff/60001/src/code-stubs-hydrogen.cc File src/code-stubs-hydrogen.cc (right): ...
6 years ago (2014-12-09 16:59:27 UTC) #14
mvstanton
6 years ago (2014-12-12 13:56:43 UTC) #15
Message was sent while issue was closed.
Committed patchset #10 (id:270001) manually as
22302b51790a42231b67c18494cfbe17537e0d0b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698