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

Issue 1683243003: ARM32 Vector lowering - scalarize select (Closed)

Created:
4 years, 10 months ago by Eric Holk
Modified:
4 years, 10 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

ARM32 Vector lowering - scalarize select With this change, we pass the select crosstest. Since this would have introduced a three-argument version of scalarizeInstruction, I decided to generalize it using templates. BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4076 R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=d6cf6b3890ad64a92c9688d35ca7dd29dc7255ac

Patch Set 1 #

Patch Set 2 : Make Format #

Patch Set 3 : Comment fix #

Patch Set 4 : Enable test_select crosstest #

Total comments: 22

Patch Set 5 : Review feedback #

Total comments: 2

Patch Set 6 : Rework scalarizeInstruction to have a well-defined evaluation order" #

Patch Set 7 : Use BoolFlagSaver for GeneratingTargetHelpers. #

Total comments: 3

Patch Set 8 : Better determinism and fixed nits. #

Total comments: 4

Patch Set 9 : Workaround for g++ bug #

Patch Set 10 : Code review feedback. #

Total comments: 1

Patch Set 11 : Typo fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -75 lines) Patch
M Makefile.standalone View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M src/IceTargetLowering.h View 1 2 3 4 5 6 7 8 3 chunks +56 lines, -49 lines 0 comments Download
M src/IceTargetLowering.cpp View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M src/IceTargetLoweringARM32.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +27 lines, -7 lines 0 comments Download
M src/IceTargetLoweringX86BaseImpl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -15 lines 0 comments Download
M src/IceUtils.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +19 lines, -0 lines 0 comments Download
A tests_lit/assembler/arm32/select-vec.ll View 1 2 3 4 5 6 7 8 9 1 chunk +263 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
Eric Holk
4 years, 10 months ago (2016-02-10 21:21:21 UTC) #2
John
https://codereview.chromium.org/1683243003/diff/60001/src/IceTargetLowering.h File src/IceTargetLowering.h (left): https://codereview.chromium.org/1683243003/diff/60001/src/IceTargetLowering.h#oldcode476 src/IceTargetLowering.h:476: F &&MakeInstruction) { I didn't see this before, but ...
4 years, 10 months ago (2016-02-11 15:02:41 UTC) #4
Jim Stichnoth
https://codereview.chromium.org/1683243003/diff/60001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/1683243003/diff/60001/Makefile.standalone#newcode452 Makefile.standalone:452: -i arm32,neon,test_select Nice! You should be able to just ...
4 years, 10 months ago (2016-02-11 15:26:07 UTC) #5
Eric Holk
https://codereview.chromium.org/1683243003/diff/60001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/1683243003/diff/60001/Makefile.standalone#newcode452 Makefile.standalone:452: -i arm32,neon,test_select On 2016/02/11 15:26:07, stichnot wrote: > Nice! ...
4 years, 10 months ago (2016-02-11 19:17:23 UTC) #6
Jim Stichnoth
https://codereview.chromium.org/1683243003/diff/80001/src/IceTargetLowering.cpp File src/IceTargetLowering.cpp (right): https://codereview.chromium.org/1683243003/diff/80001/src/IceTargetLowering.cpp#newcode311 src/IceTargetLowering.cpp:311: GeneratingTargetHelpers = true; It would be nice to use ...
4 years, 10 months ago (2016-02-12 02:32:50 UTC) #7
Eric Holk
I realized the way I was generating the extract instructions led to indeterminate evaluation order, ...
4 years, 10 months ago (2016-02-12 18:38:15 UTC) #8
Jim Stichnoth
https://codereview.chromium.org/1683243003/diff/120001/src/IceUtils.h File src/IceUtils.h (right): https://codereview.chromium.org/1683243003/diff/120001/src/IceUtils.h#newcode126 src/IceUtils.h:126: /// A helper class to ease the settings of ...
4 years, 10 months ago (2016-02-12 22:41:31 UTC) #9
Eric Holk
This fixes issues Jim raised on the last CL, and also introduces a new and ...
4 years, 10 months ago (2016-02-12 23:17:27 UTC) #10
Jim Stichnoth
I really don't know what kind of template wizardry you have conjured up, so science ...
4 years, 10 months ago (2016-02-13 05:22:09 UTC) #11
Eric Holk
During presubmit checks, I found out g++ had a bug that made it not work. ...
4 years, 10 months ago (2016-02-16 23:05:30 UTC) #12
Jim Stichnoth
still lgtm https://codereview.chromium.org/1683243003/diff/180001/src/IceUtils.h File src/IceUtils.h (right): https://codereview.chromium.org/1683243003/diff/180001/src/IceUtils.h#newcode127 src/IceUtils.h:127: /// value upon function exist. exit
4 years, 10 months ago (2016-02-17 04:01:56 UTC) #13
Eric Holk
4 years, 10 months ago (2016-02-17 19:09:51 UTC) #15
Message was sent while issue was closed.
Committed patchset #11 (id:200001) manually as
d6cf6b3890ad64a92c9688d35ca7dd29dc7255ac (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698