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

Issue 2041913002: [interpreter] Remove OperandScale from front stages of pipeline. (Closed)

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

Description

[interpreter] Remove OperandScale from front stages of pipeline. BUG=v8:4280 LOG=N Committed: https://crrev.com/85882a6320703df3db9bbf8f85c6e82df4c87ef4 Cr-Commit-Position: refs/heads/master@{#36885}

Patch Set 1 #

Patch Set 2 : Fix compilation warning on linux. Use named pattern for placeholders. #

Patch Set 3 : Take 2 #

Patch Set 4 : Minor clean-up. #

Total comments: 8

Patch Set 5 : Upload for perf testing on bots. #

Patch Set 6 : Incorporate review comments #

Patch Set 7 : Rebase #

Total comments: 4

Patch Set 8 : Missing upload. #

Patch Set 9 : Re-institute operand checks. #

Patch Set 10 : Nit. #

Patch Set 11 : Fix checks. #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+483 lines, -739 lines) Patch
M src/interpreter/bytecode-array-builder.h View 1 2 3 4 5 6 7 8 9 2 chunks +27 lines, -18 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 3 4 5 6 7 8 9 10 20 chunks +160 lines, -289 lines 0 comments Download
M src/interpreter/bytecode-array-writer.h View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-writer.cc View 1 2 3 4 5 6 7 8 chunks +80 lines, -31 lines 0 comments Download
M src/interpreter/bytecode-peephole-optimizer.cc View 1 2 3 4 5 6 2 chunks +3 lines, -4 lines 0 comments Download
M src/interpreter/bytecode-pipeline.h View 1 2 3 4 5 6 4 chunks +6 lines, -19 lines 0 comments Download
M src/interpreter/bytecode-pipeline.cc View 7 chunks +11 lines, -37 lines 0 comments Download
M src/interpreter/bytecode-register-optimizer.cc View 2 chunks +3 lines, -13 lines 0 comments Download
M src/interpreter/bytecode-traits.h View 1 2 3 4 5 11 chunks +55 lines, -17 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -12 lines 0 comments Download
M src/interpreter/bytecodes.cc View 1 2 3 4 5 6 7 6 chunks +19 lines, -68 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/WideRegisters.golden View 1 2 3 4 5 6 8 chunks +15 lines, -15 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-writer-unittest.cc View 4 chunks +33 lines, -40 lines 0 comments Download
M test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc View 24 chunks +29 lines, -59 lines 0 comments Download
M test/unittests/interpreter/bytecode-pipeline-unittest.cc View 4 chunks +14 lines, -27 lines 0 comments Download
M test/unittests/interpreter/bytecode-register-optimizer-unittest.cc View 6 chunks +14 lines, -32 lines 0 comments Download
M test/unittests/interpreter/bytecodes-unittest.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -58 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
oth
This seems broadly perf neutral, but cleans up dealing with operand scales from the bytecode ...
4 years, 6 months ago (2016-06-06 20:40:35 UTC) #2
rmcilroy
Nice, I like it! As you say, this is low-prio, but I think it's a ...
4 years, 6 months ago (2016-06-07 10:32:47 UTC) #3
oth
Thanks, revised and progressed. https://codereview.chromium.org/2041913002/diff/60001/src/interpreter/bytecode-array-builder.h File src/interpreter/bytecode-array-builder.h (right): https://codereview.chromium.org/2041913002/diff/60001/src/interpreter/bytecode-array-builder.h#newcode282 src/interpreter/bytecode-array-builder.h:282: static uint32_t UnsignedOperand(size_t value); On ...
4 years, 6 months ago (2016-06-08 15:08:41 UTC) #4
rmcilroy
LGTM with comments. https://codereview.chromium.org/2041913002/diff/120001/src/interpreter/bytecode-array-writer.cc File src/interpreter/bytecode-array-writer.cc (right): https://codereview.chromium.org/2041913002/diff/120001/src/interpreter/bytecode-array-writer.cc#newcode124 src/interpreter/bytecode-array-writer.cc:124: return OperandSize::kByte; kShort https://codereview.chromium.org/2041913002/diff/120001/src/interpreter/bytecode-array-writer.cc#newcode135 src/interpreter/bytecode-array-writer.cc:135: Bytecodes::GetOperandTypeInfos(node->bytecode()); ...
4 years, 6 months ago (2016-06-09 15:16:36 UTC) #5
oth
Thanks, comments incorporated (though Rietveld is not showing the latest uploaded CL just now). https://codereview.chromium.org/2041913002/diff/120001/src/interpreter/bytecode-array-writer.cc ...
4 years, 6 months ago (2016-06-09 19:59:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041913002/220001
4 years, 6 months ago (2016-06-10 10:11:55 UTC) #9
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 6 months ago (2016-06-10 10:34:59 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-10 10:36:50 UTC) #12
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/85882a6320703df3db9bbf8f85c6e82df4c87ef4
Cr-Commit-Position: refs/heads/master@{#36885}

Powered by Google App Engine
This is Rietveld 408576698