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

Issue 398053002: Introduce FLAG_vector_ics. (Closed)

Created:
6 years, 5 months ago by mvstanton
Modified:
6 years, 5 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Introduce FLAG_vector_ics. When FLAG_vector_ics is true, then AST nodes that use Load and KeyedLoad ICs will allocate a type vector slot to store feedback information. Full codegen will emit a load of the slot into a register if the flag is on. Support is incomplete, right now the IC doesn't know how to use the feedback slot. R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22500

Patch Set 1 #

Patch Set 2 : Register passed in hydrogen, fixed some test failures. #

Total comments: 11

Patch Set 3 : x64 port, small fixes for hydrogen calls. #

Patch Set 4 : Ports. #

Patch Set 5 : Doh! Turn off flag. #

Patch Set 6 : REBASE. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+730 lines, -127 lines) Patch
M src/arm/full-codegen-arm.cc View 1 2 3 4 5 14 chunks +54 lines, -12 lines 0 comments Download
M src/arm/ic-arm.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M src/arm/lithium-arm.h View 1 2 3 4 5 3 chunks +15 lines, -6 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 2 3 4 5 3 chunks +17 lines, -3 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 3 chunks +28 lines, -0 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 2 3 4 5 15 chunks +54 lines, -11 lines 0 comments Download
M src/arm64/ic-arm64.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M src/arm64/lithium-arm64.h View 1 2 3 4 5 3 chunks +17 lines, -6 lines 0 comments Download
M src/arm64/lithium-arm64.cc View 1 2 3 4 5 4 chunks +25 lines, -3 lines 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 2 3 4 5 3 chunks +27 lines, -0 lines 0 comments Download
M src/ast.h View 1 2 3 4 5 12 chunks +62 lines, -5 lines 0 comments Download
M src/ast.cc View 1 2 3 4 5 5 chunks +20 lines, -7 lines 0 comments Download
M src/bootstrapper.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/full-codegen.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 4 chunks +5 lines, -1 line 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 18 chunks +46 lines, -14 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 9 chunks +48 lines, -3 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 4 5 14 chunks +54 lines, -10 lines 0 comments Download
M src/ia32/ic-ia32.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 3 chunks +28 lines, -0 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 3 4 5 3 chunks +15 lines, -6 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 5 3 chunks +17 lines, -4 lines 0 comments Download
M src/ic.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 4 5 14 chunks +51 lines, -10 lines 0 comments Download
M src/x64/ic-x64.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 3 chunks +25 lines, -0 lines 0 comments Download
M src/x64/lithium-x64.h View 1 2 3 4 5 5 chunks +18 lines, -6 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 4 5 3 chunks +17 lines, -3 lines 0 comments Download
M test/cctest/test-compiler.cc View 1 2 3 4 5 3 chunks +8 lines, -7 lines 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 4 5 1 chunk +12 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
mvstanton
Hi Toon, This is much of the "basic infrastructure" that needs to be in place. ...
6 years, 5 months ago (2014-07-16 16:10:11 UTC) #1
Toon Verwaest
Looks good, go ahead and port. https://codereview.chromium.org/398053002/diff/60001/src/ast.cc File src/ast.cc (right): https://codereview.chromium.org/398053002/diff/60001/src/ast.cc#newcode1104 src/ast.cc:1104: DONT_OPTIMIZE_NODE_WITH_FEEDBACK_SLOTS(Yield) Some sorting ...
6 years, 5 months ago (2014-07-18 09:52:16 UTC) #2
mvstanton
Thanks Toon, ports addressed. --Michael https://codereview.chromium.org/398053002/diff/60001/src/ast.cc File src/ast.cc (right): https://codereview.chromium.org/398053002/diff/60001/src/ast.cc#newcode1104 src/ast.cc:1104: DONT_OPTIMIZE_NODE_WITH_FEEDBACK_SLOTS(Yield) On 2014/07/18 09:52:16, ...
6 years, 5 months ago (2014-07-18 13:35:05 UTC) #3
Toon Verwaest
lgtm
6 years, 5 months ago (2014-07-21 09:04:36 UTC) #4
mvstanton
6 years, 5 months ago (2014-07-21 11:20:16 UTC) #5
Message was sent while issue was closed.
Committed patchset #6 manually as r22500.

Powered by Google App Engine
This is Rietveld 408576698