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

Issue 1973873004: [Interpreter] Make Fast-paths of StackCheck, Jump Return, ForInNext not build a frame. (Closed)

Created:
4 years, 7 months ago by rmcilroy
Modified:
4 years, 7 months ago
Reviewers:
Benedikt Meurer, oth
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] Make Fast-paths of StackCheck, Jump Return, ForInNext not build a frame. Tweaks the generated code for a number of bytecode handlers. In particular, uses deferred labels (now that they exist) to ensure that fast-paths don't build frames where possible. This improves the codegen for StackCheck, Jump, Return and ForInNext. Also tweak the codegen for CreateArguments, LogicalNot, ForInDone. Seems to give ~5-8% performance boost on Octane. BUG=v8:4280 LOG=N Committed: https://crrev.com/40c787288d3b45ec8b477bc0c8bba4216e625d95 Cr-Commit-Position: refs/heads/master@{#36236}

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -101 lines) Patch
M src/compiler/code-assembler.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 11 chunks +54 lines, -45 lines 0 comments Download
M src/interpreter/interpreter-assembler.h View 3 chunks +7 lines, -7 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 5 chunks +32 lines, -49 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (9 generated)
rmcilroy
Benedikt, please review one-line change in compiler. Orion, pleaser review interpreter changes. Thanks.
4 years, 7 months ago (2016-05-13 09:44:28 UTC) #4
Benedikt Meurer
Nice catch, awesome. LGTM.
4 years, 7 months ago (2016-05-13 09:45:37 UTC) #5
oth
LGTM, +1 awesome :-D
4 years, 7 months ago (2016-05-13 10:34:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1973873004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1973873004/1
4 years, 7 months ago (2016-05-13 10:42:42 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/1612) v8_linux64_avx2_rel_ng on tryserver.v8 (JOB_FAILED, ...
4 years, 7 months ago (2016-05-13 10:43:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1973873004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1973873004/20001
4 years, 7 months ago (2016-05-13 11:13:29 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-13 11:44:42 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 11:45:15 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/40c787288d3b45ec8b477bc0c8bba4216e625d95
Cr-Commit-Position: refs/heads/master@{#36236}

Powered by Google App Engine
This is Rietveld 408576698