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

Issue 2392333002: [ignition/turbo] Remove stack check from inlined functions (Closed)

Created:
4 years, 2 months ago by Leszek Swirski
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com, rmcilroy
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ignition/turbo] Remove stack check from inlined functions This removes the first stack check in inlined functions in the bytecode graph builder, to match the behaviour of the AST graph builder. I measure a ~1% statistically significant (p < 0.01) improvement on Mandreel with --ignition-staging --turbo (on my x64 machine, YMMV). Committed: https://crrev.com/cf1ebf36625ce8ffa713822768acfa59153440fc Cr-Commit-Position: refs/heads/master@{#40715}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Only remove the first stack check in functions #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Total comments: 2

Patch Set 6 : Change 'while' to 'for' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M src/compiler/bytecode-graph-builder.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 3 4 5 6 chunks +11 lines, -5 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (24 generated)
Leszek Swirski
Hi Turbofan folks, As discussed in the standup, here's the hack to remove stack checks ...
4 years, 2 months ago (2016-10-11 09:34:33 UTC) #11
Leszek Swirski
Michi, how do you feel about this then? Should we land it or abandon it? ...
4 years, 1 month ago (2016-10-26 09:17:52 UTC) #17
Michael Starzinger
LGTM on the implementation, just one suggestion. I would have hoped for a bigger payoff ...
4 years, 1 month ago (2016-10-31 14:39:02 UTC) #19
Leszek Swirski
Thanks Michi, I've addressed your comment. For the performance improvement comment, I'll run a couple ...
4 years, 1 month ago (2016-11-02 16:25:47 UTC) #22
Leszek Swirski
After 700ish runs on my machine, looks like improvements are better than I'd thought: Box2D ...
4 years, 1 month ago (2016-11-03 10:07:29 UTC) #25
Benedikt Meurer
LGTM, I'd be fine with landing this.
4 years, 1 month ago (2016-11-03 10:15:41 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2392333002/100001
4 years, 1 month ago (2016-11-03 10:19:12 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-03 10:21:09 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:20:05 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/cf1ebf36625ce8ffa713822768acfa59153440fc
Cr-Commit-Position: refs/heads/master@{#40715}

Powered by Google App Engine
This is Rietveld 408576698