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

Issue 1435283002: [Interpreter] Adds an optimization to remove redundant Ldar/Star. (Closed)

Created:
5 years, 1 month ago by mythria
Modified:
5 years, 1 month ago
Reviewers:
oth, 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] Adds an optimization to remove redundant Ldar/Star. Adds an optimization to omit generating Ldar/Star if the same register is loaded or stored from the accumulator in the earlier instruction. BUG=v8:4280 LOG=N Committed: https://crrev.com/f665c823dd303e690ac136608d4e16dbfc39e2e8 Cr-Commit-Position: refs/heads/master@{#31984}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixed comments. #

Total comments: 2

Patch Set 3 : Addressed comments. #

Patch Set 4 : rebased the patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -127 lines) Patch
M src/interpreter/bytecode-array-builder.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 2 chunks +23 lines, -6 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 3 47 chunks +133 lines, -118 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
mythria
Could you please review my changes Thanks, Mythri
5 years, 1 month ago (2015-11-12 12:45:44 UTC) #2
rmcilroy
Nice! lgtm, but please wait for Orion to review too. https://codereview.chromium.org/1435283002/diff/1/test/cctest/interpreter/test-bytecode-generator.cc File test/cctest/interpreter/test-bytecode-generator.cc (right): https://codereview.chromium.org/1435283002/diff/1/test/cctest/interpreter/test-bytecode-generator.cc#newcode4749 ...
5 years, 1 month ago (2015-11-12 14:24:26 UTC) #3
mythria
Fixed comments. https://codereview.chromium.org/1435283002/diff/1/test/cctest/interpreter/test-bytecode-generator.cc File test/cctest/interpreter/test-bytecode-generator.cc (right): https://codereview.chromium.org/1435283002/diff/1/test/cctest/interpreter/test-bytecode-generator.cc#newcode4749 test/cctest/interpreter/test-bytecode-generator.cc:4749: B(LdaSmi8), U8(1), // strange shuffling. On 2015/11/12 ...
5 years, 1 month ago (2015-11-13 10:14:37 UTC) #4
oth
lgtm. There's a tiny typo, but great. Thank you for doing this, appreciate there's a ...
5 years, 1 month ago (2015-11-13 10:51:32 UTC) #5
mythria
Thanks for the reviews. https://codereview.chromium.org/1435283002/diff/20001/test/cctest/interpreter/test-bytecode-generator.cc File test/cctest/interpreter/test-bytecode-generator.cc (right): https://codereview.chromium.org/1435283002/diff/20001/test/cctest/interpreter/test-bytecode-generator.cc#newcode5179 test/cctest/interpreter/test-bytecode-generator.cc:5179: {"var ld_a = 1;\n" // ...
5 years, 1 month ago (2015-11-13 12:36:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1435283002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1435283002/60001
5 years, 1 month ago (2015-11-13 14:13:50 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-13 14:15:02 UTC) #10
commit-bot: I haz the power
5 years, 1 month ago (2015-11-14 23:21:34 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f665c823dd303e690ac136608d4e16dbfc39e2e8
Cr-Commit-Position: refs/heads/master@{#31984}

Powered by Google App Engine
This is Rietveld 408576698