diff options
author | Andreas Krebbel <krebbel@linux.ibm.com> | 2021-03-08 12:49:22 +0100 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.ibm.com> | 2021-03-08 12:49:36 +0100 |
commit | e99b25df68d4528141f6079e1e3af8ef20bbcb00 (patch) | |
tree | 87695d5df61ee32b16c4c06d151d00a88c12b9e9 /gcc/tree-nested.c | |
parent | b48d76c4e6bd3b88f23979ede4ff12f875e0ad60 (diff) | |
download | gcc-e99b25df68d4528141f6079e1e3af8ef20bbcb00.zip gcc-e99b25df68d4528141f6079e1e3af8ef20bbcb00.tar.gz gcc-e99b25df68d4528141f6079e1e3af8ef20bbcb00.tar.bz2 |
IBM Z: Fix vcond-shift.c testcase.
Due to a common code change the comparison in the testcase is emitted
via vec_cmp instead of vcond. The testcase checks for an optimization
currently only available via vcond.
Fixed by implementing the same optimization also in
s390_expand_vec_compare.
gcc/ChangeLog:
* config/s390/s390.c (s390_expand_vec_compare): Implement <0
comparison with arithmetic right shift.
(s390_expand_vcond): No need for a force_reg anymore.
s390_vec_compare will do it.
* config/s390/vector.md ("vec_cmp<mode><tointvec>"): Accept also
immediate operands.
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions