diff options
author | Juergen Christ <jchrist@linux.ibm.com> | 2023-07-18 08:30:14 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.ibm.com> | 2023-07-18 08:33:03 +0200 |
commit | 615c2e555d34c2b17513c869b309b8f398376874 (patch) | |
tree | 803414c7516368d3cbdc97d407eeab9d88cc92c4 /gcc/tree-ssa-phiopt.cc | |
parent | 6bab2772dbc42ce7a1b29b03ae84e6e434e23c4e (diff) | |
download | gcc-615c2e555d34c2b17513c869b309b8f398376874.zip gcc-615c2e555d34c2b17513c869b309b8f398376874.tar.gz gcc-615c2e555d34c2b17513c869b309b8f398376874.tar.bz2 |
IBM zSystems: Optimize vec_cmpge followed by vec_sel
A vec_cmpge produces a negation. Replace this negation by swapping the two
selection choices of a vec_sel based on the result of the vec_cmpge.
gcc/ChangeLog:
* config/s390/vx-builtins.md: New vsel pattern.
gcc/testsuite/ChangeLog:
* gcc.target/s390/vector/vec-cmpge.c: New test.
Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions