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

Issue 2033013002: [interpreter] Faster and fewer flushes in register optimizer. (Closed)

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

Description

[interpreter] Faster and fewer flushes in register optimizer. This change requires a single pass over the register set during bytecode pipeline flushes. A few bytecode tests are updated too because the order of register flushes is different. BUG=v8:4280 LOG=N Committed: https://crrev.com/ecd4086cf0dd20ea31179dffb95bb722518d8b1d Cr-Commit-Position: refs/heads/master@{#36726}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Incorporate review comments. #

Patch Set 3 : Rebase against master. #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -33 lines) Patch
M src/interpreter/bytecode-register-optimizer.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M src/interpreter/bytecode-register-optimizer.cc View 1 2 3 7 chunks +32 lines, -20 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden View 3 chunks +6 lines, -6 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForOf.golden View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/bytecode_expectations/NewTarget.golden View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/WideRegisters.golden View 1 chunk +3 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 12 (4 generated)
oth
Ross, PTAL. Effect on Sunspider here: https://docs.google.com/spreadsheets/d/1A78Ek1DvSyX9-QdzE6bq5gzQt7g0DT2vDM7LOyVPhmo/edit#gid=531561987
4 years, 6 months ago (2016-06-02 11:08:48 UTC) #2
rmcilroy
LGTM. https://codereview.chromium.org/2033013002/diff/1/src/interpreter/bytecode-register-optimizer.cc File src/interpreter/bytecode-register-optimizer.cc (right): https://codereview.chromium.org/2033013002/diff/1/src/interpreter/bytecode-register-optimizer.cc#newcode219 src/interpreter/bytecode-register-optimizer.cc:219: continue; nit - could you add a comment ...
4 years, 6 months ago (2016-06-02 12:51:34 UTC) #3
oth
Thanks, done. This depends on the softening CL. There is a "stronger" version of that ...
4 years, 6 months ago (2016-06-02 14:14:24 UTC) #4
oth
On 2016/06/02 12:51:34, rmcilroy wrote: > LGTM. > > https://codereview.chromium.org/2033013002/diff/1/src/interpreter/bytecode-register-optimizer.cc > File src/interpreter/bytecode-register-optimizer.cc (right): > ...
4 years, 6 months ago (2016-06-02 14:16:14 UTC) #5
rmcilroy
https://codereview.chromium.org/2033013002/diff/1/src/interpreter/bytecode-register-optimizer.cc File src/interpreter/bytecode-register-optimizer.cc (right): https://codereview.chromium.org/2033013002/diff/1/src/interpreter/bytecode-register-optimizer.cc#newcode378 src/interpreter/bytecode-register-optimizer.cc:378: flush_required_ = true; On 2016/06/02 14:14:24, oth wrote: > ...
4 years, 6 months ago (2016-06-02 15:07:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2033013002/60001
4 years, 6 months ago (2016-06-04 09:44:19 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-04 09:47:04 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-04 09:48:17 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ecd4086cf0dd20ea31179dffb95bb722518d8b1d
Cr-Commit-Position: refs/heads/master@{#36726}

Powered by Google App Engine
This is Rietveld 408576698