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

Issue 2785723002: [wasm][arm64] Add an additional stack check for functions with big frames (Closed)

Created:
3 years, 8 months ago by ahaas
Modified:
3 years, 8 months ago
Reviewers:
v8-arm-ports, Michael Starzinger, Rodolph Perfetta
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm][arm64] Add an additional stack check for functions with big frames This is the arm64 implementation fo the CL https://codereview.chromium.org/2763593002 Original message: [wasm][arm] Add an additional stack check for functions with big frames. Stack overflow checks are typically implemented as part of the TurboFan graph of a function. This means that the stack check code is executed after frame construction. When a frame is too big, though, there may not be enough space on the stack anymore to throw the stack overflow exception after frame construction. With this CL we do an additional stack check before frame construction for functions with big frames. As discussed offline with mstarzinger, I do this change currently only for WebAssembly. This CL contains only the changes for arm. I will do the other platforms in separate CLs. R=mstarzinger@chromium.org, rodolph.perfetta@gmail.com, v8-arm-ports@googlegroups.com Review-Url: https://codereview.chromium.org/2785723002 Cr-Commit-Position: refs/heads/master@{#44792} Committed: https://chromium.googlesource.com/v8/v8/+/86ba46613354a7cc23a5958340f9982bdb98f352

Patch Set 1 #

Total comments: 2

Patch Set 2 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -0 lines) Patch
M src/compiler/arm64/code-generator-arm64.cc View 1 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
ahaas
3 years, 8 months ago (2017-03-29 13:58:30 UTC) #1
ahaas
On 2017/03/29 at 13:58:30, ahaas wrote: > ping.
3 years, 8 months ago (2017-04-05 09:11:24 UTC) #6
Rodolph Perfetta
https://codereview.chromium.org/2785723002/diff/1/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/2785723002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode1989 src/compiler/arm64/code-generator-arm64.cc:1989: __ Mov(jssp, csp); You also need to set jssp ...
3 years, 8 months ago (2017-04-05 15:13:35 UTC) #7
ahaas
https://codereview.chromium.org/2785723002/diff/1/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/2785723002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode1989 src/compiler/arm64/code-generator-arm64.cc:1989: __ Mov(jssp, csp); On 2017/04/05 at 15:13:35, Rodolph Perfetta ...
3 years, 8 months ago (2017-04-10 09:51:22 UTC) #10
Rodolph Perfetta
On 2017/04/10 09:51:22, ahaas wrote: > https://codereview.chromium.org/2785723002/diff/1/src/compiler/arm64/code-generator-arm64.cc > File src/compiler/arm64/code-generator-arm64.cc (right): > > https://codereview.chromium.org/2785723002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode1989 > ...
3 years, 8 months ago (2017-04-10 18:03:27 UTC) #13
Rodolph Perfetta
lgtm
3 years, 8 months ago (2017-04-10 18:03:40 UTC) #14
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/2785723002/20001
3 years, 8 months ago (2017-04-11 07:00:19 UTC) #16
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 8 months ago (2017-04-11 07:00:21 UTC) #18
Michael Starzinger
LGTM.
3 years, 8 months ago (2017-04-24 11:46:31 UTC) #19
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/2785723002/20001
3 years, 8 months ago (2017-04-24 12:22:47 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 12:46:18 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/86ba46613354a7cc23a5958340f9982bdb9...

Powered by Google App Engine
This is Rietveld 408576698