Darwin, X86, testsuite: Fix pr87767 tests for Darwin.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 14 Sep 2020 18:37:30 +0000 (19:37 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 14 Sep 2020 18:45:35 +0000 (19:45 +0100)
commit0a3e6e975abd2b19fc12da7e5430e2a05e92ebcc
tree88b5ee858327e39168235052d48ce4dabbb2e3db
parente9fdb9a73249f95f3da2d7fde6f268ae12d0d22c
Darwin, X86, testsuite: Fix pr87767 tests for Darwin.

The tests assume non-PIC for m32 (which means that they fail on default
PIC targets, like Darwin).  There is also a missing space before the
closing '}' on one of the dg-require-effective-target which means that
test fails on machines without avx512f.

gcc/testsuite/ChangeLog:

* gcc.target/i386/avx512f-broadcast-pr87767-1.c: Make the test
run as non-dynamic for m32 Darwin.
* gcc.target/i386/avx512f-broadcast-pr87767-3.c: Likewise.
* gcc.target/i386/avx512f-broadcast-pr87767-5.c: Likewise.
* gcc.target/i386/avx512f-broadcast-pr87767-7.c: Likewise.
* gcc.target/i386/avx512vl-broadcast-pr87767-1.c: Likewise.
* gcc.target/i386/avx512vl-broadcast-pr87767-3.c: Likewise.
* gcc.target/i386/avx512vl-broadcast-pr87767-5.c: Likewise.
* gcc.target/i386/avx512f-broadcast-pr87767-6.c: Adjust dg-requires
clause.
gcc/testsuite/gcc.target/i386/avx512f-broadcast-pr87767-1.c
gcc/testsuite/gcc.target/i386/avx512f-broadcast-pr87767-3.c
gcc/testsuite/gcc.target/i386/avx512f-broadcast-pr87767-5.c
gcc/testsuite/gcc.target/i386/avx512f-broadcast-pr87767-6.c
gcc/testsuite/gcc.target/i386/avx512f-broadcast-pr87767-7.c
gcc/testsuite/gcc.target/i386/avx512vl-broadcast-pr87767-1.c
gcc/testsuite/gcc.target/i386/avx512vl-broadcast-pr87767-3.c
gcc/testsuite/gcc.target/i386/avx512vl-broadcast-pr87767-5.c