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

Issue 257203002: ARM64: Use the shifter operand to merge in previous shift instructions. (Closed)

Created:
6 years, 7 months ago by Alexandre Rames
Modified:
6 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

ARM64: Use the shifter operand to merge in previous shift instructions. When possible, we transform sequences of code of the form lsl x8, x9, #imm add x0, x1, x8 into add x0, x1, x9 LSL #imm

Patch Set 1 #

Total comments: 16

Patch Set 2 : Address first round of review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -18 lines) Patch
M src/arm64/assembler-arm64.h View 1 3 chunks +7 lines, -6 lines 0 comments Download
M src/arm64/constants-arm64.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/arm64/lithium-arm64.h View 1 7 chunks +78 lines, -3 lines 0 comments Download
M src/arm64/lithium-arm64.cc View 1 6 chunks +133 lines, -2 lines 0 comments Download
M src/arm64/lithium-codegen-arm64.h View 1 3 chunks +20 lines, -1 line 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 6 chunks +22 lines, -5 lines 0 comments Download
M src/arm64/simulator-arm64.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/hydrogen-instructions.h View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Alexandre Rames
6 years, 7 months ago (2014-04-29 14:52:33 UTC) #1
ulan
Alexandre, first question before reviewing: does this optimization trigger in benchmarks? If so how does ...
6 years, 7 months ago (2014-04-29 15:01:44 UTC) #2
Alexandre Rames
On 2014/04/29 15:01:44, ulan wrote: > Alexandre, first question before reviewing: does this optimization trigger ...
6 years, 7 months ago (2014-04-29 15:13:15 UTC) #3
ulan
Although it adds a lot of complexity, I think 15% performance boost can justify landing ...
6 years, 7 months ago (2014-05-02 10:01:18 UTC) #4
Alexandre Rames
https://codereview.chromium.org/257203002/diff/1/src/arm64/lithium-arm64.cc File src/arm64/lithium-arm64.cc (right): https://codereview.chromium.org/257203002/diff/1/src/arm64/lithium-arm64.cc#newcode2047 src/arm64/lithium-arm64.cc:2047: if (!val->IsBitwise() && !(val->IsAdd() || val->IsSub())) return NULL; On ...
6 years, 7 months ago (2014-05-02 13:51:44 UTC) #5
Alexandre Rames
Uploaded the updated patch.
6 years, 7 months ago (2014-05-02 15:48:53 UTC) #6
ulan
lgtm
6 years, 7 months ago (2014-05-05 07:30:45 UTC) #7
Alexandre Rames
6 years, 7 months ago (2014-05-19 08:03:07 UTC) #8
On 2014/05/05 07:30:45, ulan wrote:
> lgtm

Was landed by Martyn in r21161.

Powered by Google App Engine
This is Rietveld 408576698