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

Issue 1945783002: [turbofan] ARM64: Use zr to store immediate zero (Closed)

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

Description

[turbofan] ARM64: Use zr to store immediate zero When storing an immediate integer or floating point zero, use the zero register as the source value. This avoids the need to sometimes allocate a new register. BUG= Committed: https://crrev.com/0322c20d178db0b3360af0353972bc338b2d4b18 Cr-Commit-Position: refs/heads/master@{#36013}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address review comments #

Patch Set 3 : Remove superfluous DCHECK clause #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -27 lines) Patch
M src/compiler/arm64/code-generator-arm64.cc View 1 2 6 chunks +37 lines, -23 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 1 4 chunks +22 lines, -4 lines 0 comments Download
M test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
martyn.capewell
4 years, 7 months ago (2016-05-03 17:18:57 UTC) #2
Benedikt Meurer
LGTM with comments. https://codereview.chromium.org/1945783002/diff/1/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/1945783002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode40 src/compiler/arm64/code-generator-arm64.cc:40: (copysignf(1.0f, InputFloat32(index)) > 0.0f)); Use std::signbit ...
4 years, 7 months ago (2016-05-03 17:33:20 UTC) #3
martyn.capewell
https://codereview.chromium.org/1945783002/diff/1/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/1945783002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode40 src/compiler/arm64/code-generator-arm64.cc:40: (copysignf(1.0f, InputFloat32(index)) > 0.0f)); On 2016/05/03 17:33:20, Benedikt Meurer ...
4 years, 7 months ago (2016-05-04 09:47:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1945783002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1945783002/40001
4 years, 7 months ago (2016-05-04 09:54:19 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-04 10:17:38 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 10:20:00 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0322c20d178db0b3360af0353972bc338b2d4b18
Cr-Commit-Position: refs/heads/master@{#36013}

Powered by Google App Engine
This is Rietveld 408576698