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

Issue 2252333002: [turbofan/x64] Load word64 followed by a shift right 32 -> load (and sign-extend if necessary) high… (Closed)

Created:
4 years, 4 months ago by epertoso
Modified:
4 years, 4 months ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com, Benedikt Meurer
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan/x64] Load word64 followed by a shift right 32 -> load (and sign-extend if necessary) high 32bit. We were missing this optimization in a few cases because TruncateInt64ToInt32 was also interfering. Also removed the equivalent from simplified-lowering.cc, as the arm64 instruction selector has a similar optimization. R=jarin@chromium.org Committed: https://crrev.com/06cde13e7cf47adf7c3763d417ce510d3d5fd6f8 Cr-Commit-Position: refs/heads/master@{#38711}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -53 lines) Patch
M src/compiler/simplified-lowering.cc View 1 chunk +1 line, -22 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 4 chunks +52 lines, -31 lines 0 comments Download
M test/unittests/compiler/x64/instruction-selector-x64-unittest.cc View 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
epertoso
4 years, 4 months ago (2016-08-18 09:35:19 UTC) #3
Jarin
lgtm https://codereview.chromium.org/2252333002/diff/1/src/compiler/x64/instruction-selector-x64.cc File src/compiler/x64/instruction-selector-x64.cc (right): https://codereview.chromium.org/2252333002/diff/1/src/compiler/x64/instruction-selector-x64.cc#newcode643 src/compiler/x64/instruction-selector-x64.cc:643: static bool TryMatchLoadWord64AndShiftRight(InstructionSelector* selector, anonymous namespace?
4 years, 4 months ago (2016-08-18 10:38:17 UTC) #8
epertoso
https://codereview.chromium.org/2252333002/diff/1/src/compiler/x64/instruction-selector-x64.cc File src/compiler/x64/instruction-selector-x64.cc (right): https://codereview.chromium.org/2252333002/diff/1/src/compiler/x64/instruction-selector-x64.cc#newcode643 src/compiler/x64/instruction-selector-x64.cc:643: static bool TryMatchLoadWord64AndShiftRight(InstructionSelector* selector, On 2016/08/18 10:38:16, Jarin wrote: ...
4 years, 4 months ago (2016-08-18 10:51:11 UTC) #9
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/2252333002/20001
4 years, 4 months ago (2016-08-18 10:51:25 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-18 11:24:33 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 11:25:05 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/06cde13e7cf47adf7c3763d417ce510d3d5fd6f8
Cr-Commit-Position: refs/heads/master@{#38711}

Powered by Google App Engine
This is Rietveld 408576698