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

Issue 1360603003: [arm64] Implement Float(32|64)(Min|Max) using fcsel. (Closed)

Created:
5 years, 3 months ago by jbramley
Modified:
5 years, 1 month 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

[arm64] Implement Float(32|64)(Min|Max) using fcsel. Float(32|64)Min: // (a < b) ? a : b fcmp da, db fcsel dd, da, db, lo Float(32|64)Max: // (b < a) ? a : b fcmp db, da fcsel dd, da, db, lo BUG= Committed: https://crrev.com/2f80165f226c64010c40ba597710039fa8f2c8b6 Cr-Commit-Position: refs/heads/master@{#31621}

Patch Set 1 #

Total comments: 5

Patch Set 2 : More local solution, as suggested. #

Total comments: 2

Patch Set 3 : Remove "Ternary". #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -14 lines) Patch
M src/compiler/arm64/code-generator-arm64.cc View 1 2 2 chunks +16 lines, -8 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 1 2 2 chunks +17 lines, -5 lines 0 comments Download
M src/compiler/machine-operator.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc View 1 2 1 chunk +72 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
jbramley
5 years, 3 months ago (2015-09-21 15:58:54 UTC) #2
Benedikt Meurer
Hey Jacob, Nice patch. I'm not 100% about the approach, tho. One independent question: What ...
5 years, 3 months ago (2015-09-21 17:31:43 UTC) #3
jbramley
Benedikt, > Nice patch. I'm not 100% about the approach, tho. One independent question: What ...
5 years, 3 months ago (2015-09-22 07:38:39 UTC) #4
jbramley
https://codereview.chromium.org/1360603003/diff/1/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/1360603003/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode750 src/compiler/arm64/code-generator-arm64.cc:750: case kArm64Float32CmpAndFloat32Sel: On 2015/09/21 17:31:43, Benedikt Meurer wrote: > ...
5 years, 3 months ago (2015-09-22 07:45:21 UTC) #5
Benedikt Meurer
+titzer, +jarin for more opinions from the other compiler folks. You're right, this is probably ...
5 years, 3 months ago (2015-09-22 08:40:31 UTC) #7
jbramley
On 2015/09/22 08:40:31, Benedikt Meurer wrote: > +titzer, +jarin for more opinions from the other ...
5 years, 2 months ago (2015-10-05 14:54:26 UTC) #8
Benedikt Meurer
As discussed offline with Rodolph and Baptiste, we'd prefer to have a more local solution ...
5 years, 1 month ago (2015-10-26 09:24:22 UTC) #9
jbramley
On 2015/10/26 09:24:22, Benedikt Meurer wrote: > As discussed offline with Rodolph and Baptiste, we'd ...
5 years, 1 month ago (2015-10-27 14:49:04 UTC) #11
Benedikt Meurer
LGTM with nit. https://codereview.chromium.org/1360603003/diff/20001/src/compiler/arm64/instruction-codes-arm64.h File src/compiler/arm64/instruction-codes-arm64.h (right): https://codereview.chromium.org/1360603003/diff/20001/src/compiler/arm64/instruction-codes-arm64.h#newcode86 src/compiler/arm64/instruction-codes-arm64.h:86: V(Arm64Float32TernaryMax) \ Nit: I'd prefer to ...
5 years, 1 month ago (2015-10-27 19:02:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1360603003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1360603003/40001
5 years, 1 month ago (2015-10-28 09:35:02 UTC) #15
jbramley
https://codereview.chromium.org/1360603003/diff/20001/src/compiler/arm64/instruction-codes-arm64.h File src/compiler/arm64/instruction-codes-arm64.h (right): https://codereview.chromium.org/1360603003/diff/20001/src/compiler/arm64/instruction-codes-arm64.h#newcode86 src/compiler/arm64/instruction-codes-arm64.h:86: V(Arm64Float32TernaryMax) \ On 2015/10/27 19:02:59, Benedikt Meurer wrote: > ...
5 years, 1 month ago (2015-10-28 09:42:10 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-10-28 09:54:44 UTC) #17
commit-bot: I haz the power
5 years, 1 month ago (2015-10-28 09:55:20 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2f80165f226c64010c40ba597710039fa8f2c8b6
Cr-Commit-Position: refs/heads/master@{#31621}

Powered by Google App Engine
This is Rietveld 408576698