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

Issue 2922173004: [arm64] Fix pre-shifted immediate generation involving csp. (Closed)

Created:
3 years, 6 months ago by martyn.capewell
Modified:
3 years, 6 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[arm64] Fix pre-shifted immediate generation involving csp. The function that generated a pre-shifted immediate didn't account for the instruction with post-shift being unencodable. Fix this by passing information about the target instruction, and use it to limit the application of pre-shift. BUG=chromium:725858 Change-Id: Ia0f70b2ea057975d90162aa6889f15b553acd321 Review-Url: https://codereview.chromium.org/2922173004 Cr-Commit-Position: refs/heads/master@{#45911} Committed: https://chromium.googlesource.com/v8/v8/+/849a08b8712470fae420dc7a804f552b9cb1a76a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add extra test, fix mask generation bug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -9 lines) Patch
M src/arm64/macro-assembler-arm64.h View 2 chunks +17 lines, -1 line 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 4 chunks +32 lines, -8 lines 0 comments Download
M test/cctest/test-assembler-arm64.cc View 1 2 chunks +73 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-725858.js View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
martyn.capewell
3 years, 6 months ago (2017-06-06 13:30:16 UTC) #2
Tobias Tebbi
On 2017/06/06 13:30:16, martyn.capewell wrote: Thank you! The patch looks good, but I get crashes ...
3 years, 6 months ago (2017-06-08 10:27:17 UTC) #5
Tobias Tebbi
https://codereview.chromium.org/2922173004/diff/1/test/cctest/test-assembler-arm64.cc File test/cctest/test-assembler-arm64.cc (right): https://codereview.chromium.org/2922173004/diff/1/test/cctest/test-assembler-arm64.cc#newcode7173 test/cctest/test-assembler-arm64.cc:7173: __ Add(x1, x0, 0x1f7de); How are these constants encodable ...
3 years, 6 months ago (2017-06-08 10:27:51 UTC) #6
martyn.capewell
https://codereview.chromium.org/2922173004/diff/1/test/cctest/test-assembler-arm64.cc File test/cctest/test-assembler-arm64.cc (right): https://codereview.chromium.org/2922173004/diff/1/test/cctest/test-assembler-arm64.cc#newcode7173 test/cctest/test-assembler-arm64.cc:7173: __ Add(x1, x0, 0x1f7de); On 2017/06/08 10:27:51, Tobias Tebbi ...
3 years, 6 months ago (2017-06-08 10:37:17 UTC) #7
Tobias Tebbi
On 2017/06/08 10:37:17, martyn.capewell wrote: > https://codereview.chromium.org/2922173004/diff/1/test/cctest/test-assembler-arm64.cc > File test/cctest/test-assembler-arm64.cc (right): > > https://codereview.chromium.org/2922173004/diff/1/test/cctest/test-assembler-arm64.cc#newcode7173 > ...
3 years, 6 months ago (2017-06-08 14:27:25 UTC) #10
martyn.capewell
On 2017/06/08 14:27:25, Tobias Tebbi wrote: > Thanks, but I still don't see a test ...
3 years, 6 months ago (2017-06-08 14:47:26 UTC) #11
martyn.capewell
Ping - does the updated patch fix the problem you're seeing, Tobias?
3 years, 6 months ago (2017-06-13 09:37:16 UTC) #12
Tobias Tebbi
On 2017/06/13 09:37:16, martyn.capewell wrote: > Ping - does the updated patch fix the problem ...
3 years, 6 months ago (2017-06-13 14:37:22 UTC) #13
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/2922173004/20001
3 years, 6 months ago (2017-06-13 14:37:39 UTC) #15
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 15:04:30 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/849a08b8712470fae420dc7a804f552b9cb...

Powered by Google App Engine
This is Rietveld 408576698