diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx512vl-vreduceps-2.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx512vl-vreduceps-2.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx512vl-vreduceps-2.c b/gcc/testsuite/gcc.target/i386/avx512vl-vreduceps-2.c new file mode 100644 index 00000000000..f16df832936 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/avx512vl-vreduceps-2.c @@ -0,0 +1,16 @@ +/* { dg-do run } */ +/* { dg-options "-O2 -mavx512dq -mavx512vl" } */ +/* { dg-require-effective-target avx512vl } */ +/* { dg-require-effective-target avx512dq } */ + +#define AVX512VL +#define AVX512F_LEN 256 +#define AVX512F_LEN_HALF 128 +#include "avx512dq-vreduceps-2.c" + +#undef AVX512F_LEN +#undef AVX512F_LEN_HALF + +#define AVX512F_LEN 128 +#define AVX512F_LEN_HALF 128 +#include "avx512dq-vreduceps-2.c" |