Adjust testcase.
authorliuhongt <hongtao.liu@intel.com>
Mon, 31 Aug 2020 02:54:13 +0000 (10:54 +0800)
committerliuhongt <hongtao.liu@intel.com>
Thu, 3 Sep 2020 02:25:50 +0000 (10:25 +0800)
commit8bd5530bfa136663f1fa79e9a1d3932b5adf15bd
treeae2df4ccdd5a66178593995654aec1ddf327a544
parent6a8f4e47c91c70707ec428e5c8b5cf01196464b2
Adjust testcase.

gcc/testsuite/ChangeLog:
PR target/96246
PR target/96855
PR target/96856
PR target/96857
* g++.target/i386/avx512bw-pr96246-2.C: Add runtime check for
AVX512BW.
* g++.target/i386/avx512vl-pr96246-2.C: Add runtime check for
AVX512BW and AVX512VL
* g++.target/i386/avx512f-helper.h: New header.
* gcc.target/i386/pr92658-avx512f.c: Add
-mprefer-vector-width=512 to avoid impact of different default
mtune which gcc is built with.
* gcc.target/i386/avx512bw-pr95488-1.c: Ditto.
* gcc.target/i386/pr92645-4.c: Add -mno-avx512f to avoid
impact of different default march which gcc is built with.
gcc/testsuite/g++.target/i386/avx512bw-pr96246-2.C
gcc/testsuite/g++.target/i386/avx512f-helper.h [new file with mode: 0644]
gcc/testsuite/g++.target/i386/avx512vl-pr96246-2.C
gcc/testsuite/gcc.target/i386/avx512bw-pr95488-1.c
gcc/testsuite/gcc.target/i386/pr92645-4.c
gcc/testsuite/gcc.target/i386/pr92658-avx512f.c