]> git.ipfire.org Git - thirdparty/gcc.git/commit
middle-end: Fix signbit tests when ran on ISA with support for masks.
authorTamar Christina <tamar.christina@arm.com>
Wed, 10 Nov 2021 12:02:39 +0000 (12:02 +0000)
committerTamar Christina <tamar.christina@arm.com>
Wed, 10 Nov 2021 12:05:50 +0000 (12:05 +0000)
commit92617a8e2af06c74e7df514d3560f246daf411e9
treef7c0dbf4aac16995b48fcbbc160f12a117f2e7dc
parent5cfa174e08e4964703387aa7de5ece448cc660b8
middle-end: Fix signbit tests when ran on ISA with support for masks.

These test don't work on vector ISAs where the truth
type don't match the vector mode of the operation.

However I still want the tests to run on these
architectures but just turn off the ISA modes that
enable masks.

This thus turns off SVE is it's on and turns off
AVX512 if it's on.

gcc/testsuite/ChangeLog:

* gcc.dg/signbit-2.c: Turn off masks.
* gcc.dg/signbit-5.c: Likewise.
gcc/testsuite/gcc.dg/signbit-2.c
gcc/testsuite/gcc.dg/signbit-5.c