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

Issue 1289863003: [interpreter]: Changes to interpreter builtins for accumulator and register file registers. (Closed)

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

Description

[interpreter]: Changes to interpreter builtins for accumulator and register file registers. Makes the following modifications to the interpreter builtins and InterpreterAssembler: - Adds an accumulator register and initializes it to undefined() - Adds a register file pointer register and use it instead of FramePointer to access registers - Modifies builtin to support functions with 0 regiters in the register file - Modifies builtin to Call rather than TailCall to first bytecode handler. BUG=v8:4280 LOG=N Committed: https://crrev.com/00df60d1c6943a10fb5ca84fce2c017dcd2001f5 Cr-Commit-Position: refs/heads/master@{#30219}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : Address review comments. #

Total comments: 2

Patch Set 4 : Rename incoming_accumulator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -205 lines) Patch
M src/arm/builtins-arm.cc View 1 5 chunks +14 lines, -11 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 3 chunks +11 lines, -8 lines 0 comments Download
M src/arm64/macro-assembler-arm64.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/interpreter-assembler.h View 1 2 3 4 chunks +17 lines, -25 lines 0 comments Download
M src/compiler/interpreter-assembler.cc View 1 2 3 7 chunks +59 lines, -64 lines 0 comments Download
M src/compiler/linkage.h View 1 1 chunk +5 lines, -3 lines 0 comments Download
M src/compiler/linkage.cc View 1 1 chunk +13 lines, -5 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 4 chunks +38 lines, -21 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 4 chunks +10 lines, -6 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/mips64/assembler-mips64.h View 1 chunk +1 line, -1 line 0 comments Download
M src/mips64/builtins-mips64.cc View 1 4 chunks +10 lines, -6 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 4 chunks +33 lines, -19 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 chunk +1 line, -3 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.h View 1 chunk +0 lines, -2 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.cc View 1 2 5 chunks +52 lines, -31 lines 0 comments Download
M test/unittests/compiler/node-test-utils.h View 1 chunk +14 lines, -0 lines 0 comments Download
M test/unittests/compiler/node-test-utils.cc View 1 chunk +36 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (8 generated)
rmcilroy
Ben: Could you take a look please? Thanks.
5 years, 4 months ago (2015-08-14 12:08:41 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1289863003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1289863003/20001
5 years, 4 months ago (2015-08-14 12:27:43 UTC) #5
commit-bot: I haz the power
Dry run: CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in ...
5 years, 4 months ago (2015-08-14 12:27:45 UTC) #7
titzer
https://codereview.chromium.org/1289863003/diff/20001/src/compiler/interpreter-assembler.h File src/compiler/interpreter-assembler.h (right): https://codereview.chromium.org/1289863003/diff/20001/src/compiler/interpreter-assembler.h#newcode40 src/compiler/interpreter-assembler.h:40: Node* IncomingAccumulator(); The distinction between "incoming" accumulator and the ...
5 years, 4 months ago (2015-08-14 12:42:20 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1289863003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1289863003/60001
5 years, 4 months ago (2015-08-14 14:02:49 UTC) #10
rmcilroy
Thanks for the review. Comments addressed, PTAL. https://codereview.chromium.org/1289863003/diff/20001/src/compiler/interpreter-assembler.h File src/compiler/interpreter-assembler.h (right): https://codereview.chromium.org/1289863003/diff/20001/src/compiler/interpreter-assembler.h#newcode40 src/compiler/interpreter-assembler.h:40: Node* IncomingAccumulator(); ...
5 years, 4 months ago (2015-08-14 14:03:42 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-14 14:27:42 UTC) #13
rmcilroy
Ping?
5 years, 4 months ago (2015-08-18 08:15:36 UTC) #14
titzer
lgtm https://codereview.chromium.org/1289863003/diff/60001/src/compiler/interpreter-assembler.h File src/compiler/interpreter-assembler.h (right): https://codereview.chromium.org/1289863003/diff/60001/src/compiler/interpreter-assembler.h#newcode96 src/compiler/interpreter-assembler.h:96: Node* outgoing_accumulator_; Just "accumulator_"?
5 years, 4 months ago (2015-08-18 08:59:00 UTC) #15
rmcilroy
https://codereview.chromium.org/1289863003/diff/60001/src/compiler/interpreter-assembler.h File src/compiler/interpreter-assembler.h (right): https://codereview.chromium.org/1289863003/diff/60001/src/compiler/interpreter-assembler.h#newcode96 src/compiler/interpreter-assembler.h:96: Node* outgoing_accumulator_; On 2015/08/18 08:59:00, titzer wrote: > Just ...
5 years, 4 months ago (2015-08-18 12:04:07 UTC) #16
rmcilroy
5 years, 4 months ago (2015-08-18 12:04:38 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1289863003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1289863003/80001
5 years, 4 months ago (2015-08-18 12:04:55 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 4 months ago (2015-08-18 12:41:46 UTC) #21
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 12:42:09 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/00df60d1c6943a10fb5ca84fce2c017dcd2001f5
Cr-Commit-Position: refs/heads/master@{#30219}

Powered by Google App Engine
This is Rietveld 408576698