]> git.ipfire.org Git - thirdparty/gcc.git/commit
IBM Z: Fix PR96456
authorAndreas Krebbel <krebbel@linux.ibm.com>
Wed, 12 Aug 2020 06:02:34 +0000 (08:02 +0200)
committerAndreas Krebbel <krebbel@linux.ibm.com>
Tue, 6 Oct 2020 06:24:18 +0000 (08:24 +0200)
commit537f9f4e5b12f4ef5ca363f89466c0470f3482bf
tree3dfae137db2dd39e849cc5036052b142f9254130
parent58fe7d35d9cafae1dbc3b9898e685c905458dc09
IBM Z: Fix PR96456

The testcase failed because our backend refuses to generate vector
compare instructions for signaling operators with -fno-trapping-math
-fno-finite-math-only.

gcc/ChangeLog:

PR target/96456
* config/s390/s390.h (TARGET_NONSIGNALING_VECTOR_COMPARE_OK): New
macro.
* config/s390/vector.md (vcond_comparison_operator): Use new macro
for the check.

gcc/testsuite/ChangeLog:

PR target/96456
* gcc.target/s390/pr96456.c: New test.

(cherry picked from commit 1d17c38ac1d1d916abbce14e6b2e0d61517c6e9b)
gcc/config/s390/s390.h
gcc/config/s390/vector.md
gcc/testsuite/gcc.target/s390/pr96456.c [new file with mode: 0644]