]> gcc.gnu.org Git - gcc.git/commitdiff
Add dg-require-effective-target for testcases.
authorliuhongt <hongtao.liu@intel.com>
Wed, 4 Aug 2021 05:20:56 +0000 (13:20 +0800)
committerliuhongt <hongtao.liu@intel.com>
Wed, 4 Aug 2021 05:25:46 +0000 (13:25 +0800)
gcc/testsuite/ChangeLog:

* gcc.target/i386/cond_op_addsubmul_d-2.c: Add
dg-require-effective-target for avx512.
* gcc.target/i386/cond_op_addsubmul_q-2.c: Ditto.
* gcc.target/i386/cond_op_addsubmul_w-2.c: Ditto.
* gcc.target/i386/cond_op_addsubmuldiv_double-2.c: Ditto.
* gcc.target/i386/cond_op_addsubmuldiv_float-2.c: Ditto.
* gcc.target/i386/cond_op_fma_double-2.c: Ditto.
* gcc.target/i386/cond_op_fma_float-2.c: Ditto.

gcc/testsuite/gcc.target/i386/cond_op_addsubmul_d-2.c
gcc/testsuite/gcc.target/i386/cond_op_addsubmul_q-2.c
gcc/testsuite/gcc.target/i386/cond_op_addsubmul_w-2.c
gcc/testsuite/gcc.target/i386/cond_op_addsubmuldiv_double-2.c
gcc/testsuite/gcc.target/i386/cond_op_addsubmuldiv_float-2.c
gcc/testsuite/gcc.target/i386/cond_op_fma_double-2.c
gcc/testsuite/gcc.target/i386/cond_op_fma_float-2.c

index 490f4afbf18044525be5ad9e347a572e441741d0..046804bacbdb142af0ee857b3e0ceefcc7ae3bb8 100644 (file)
@@ -1,5 +1,7 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -mavx512vl -mprefer-vector-width=256" } */
+/* { dg-require-effective-target avx512vl } */
+
 #define AVX512VL
 #ifndef CHECK
 #define CHECK "avx512f-helper.h"
index 09a87deb529c1142c7751474faf7b724fe73aa03..56245b143fad38ae200106bbe821f4a21ea4eea6 100644 (file)
@@ -1,4 +1,6 @@
 /* { dg-do run { target { ! ia32 } } } */
 /* { dg-options "-O2 -mavx512vl -mprefer-vector-width=256 -mavx512dq -DTYPE=long" } */
+/* { dg-require-effective-target avx512vl } */
+/* { dg-require-effective-target avx512dq } */
 
 #include "cond_op_addsubmul_d-2.c"
index fdcdb34346c04e540ee2ac36934e82681bba4a4a..bdcd2ef3db7db07be0fb7ebfeeef4a2212b13241 100644 (file)
@@ -1,5 +1,7 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -mavx512vl -mprefer-vector-width=256 -mavx512bw -DTYPE=short" } */
+/* { dg-require-effective-target avx512bw } */
+/* { dg-require-effective-target avx512vl } */
 
 #define AVX512BW
 #include "cond_op_addsubmul_d-2.c"
index 360891f3d21ad4dc4774331988679fe151889ee5..5ec38df5933ec025dc62aded99c1bbfd8140fcae 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -mavx512vl -mprefer-vector-width=256" } */
+/* { dg-require-effective-target avx512vl } */
 
 #define AVX512VL
 #ifndef CHECK
index 20ed737cbf362ee09023dac76ae1bab5069b2afa..c99c04c0b41b512611589d8d8a83e97ca04808b4 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -mavx512vl -mprefer-vector-width=256 -DTYPE=float" } */
+/* { dg-require-effective-target avx512vl } */
 
 #include "cond_op_addsubmuldiv_double-2.c"
index d8180de749170e9601071a3eb58a471271ea6672..4c6514e756ca018b26c8a662a4e23859b6aec262 100644 (file)
@@ -1,5 +1,7 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -mavx512vl -mprefer-vector-width=256" } */
+/* { dg-require-effective-target avx512vl } */
+
 #define AVX512VL
 #ifndef CHECK
 #define CHECK "avx512f-helper.h"
index 0097735dddb163da1a025251b4daca40ef7f0096..e13d37720feeca451c5a8dc0dc6d5ee05501c771 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -mavx512vl -mprefer-vector-width=256 -DTYPE=float -D__BUILTIN_FMA=__builtin_fmaf" } */
+/* { dg-require-effective-target avx512vl } */
 
 #include "cond_op_fma_double-2.c"
This page took 0.20632 seconds and 5 git commands to generate.