vect: add vect_float to pr102819 tests
authorTamar Christina <tamar.christina@arm.com>
Wed, 2 Mar 2022 12:49:57 +0000 (12:49 +0000)
committerTamar Christina <tamar.christina@arm.com>
Wed, 2 Mar 2022 12:50:09 +0000 (12:50 +0000)
This adds a vect_float requirements to this tests to stop them from running on
targets that don't support float vectorization.

gcc/testsuite/ChangeLog:

PR testsuite/104730
* gcc.dg/vect/complex/pr102819-1.c: Add vect_float.
* gcc.dg/vect/complex/pr102819-2.c: Likewise.
* gcc.dg/vect/complex/pr102819-3.c: Likewise.
* gcc.dg/vect/complex/pr102819-4.c: Likewise.
* gcc.dg/vect/complex/pr102819-5.c: Likewise.
* gcc.dg/vect/complex/pr102819-6.c: Likewise.
* gcc.dg/vect/complex/pr102819-7.c: Likewise.
* gcc.dg/vect/complex/pr102819-8.c: Likewise.
* gcc.dg/vect/complex/pr102819-9.c: Likewise.

gcc/testsuite/gcc.dg/vect/complex/pr102819-1.c
gcc/testsuite/gcc.dg/vect/complex/pr102819-2.c
gcc/testsuite/gcc.dg/vect/complex/pr102819-3.c
gcc/testsuite/gcc.dg/vect/complex/pr102819-4.c
gcc/testsuite/gcc.dg/vect/complex/pr102819-5.c
gcc/testsuite/gcc.dg/vect/complex/pr102819-6.c
gcc/testsuite/gcc.dg/vect/complex/pr102819-7.c
gcc/testsuite/gcc.dg/vect/complex/pr102819-8.c
gcc/testsuite/gcc.dg/vect/complex/pr102819-9.c

index 46b9a55..ae16b89 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_float } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
 
 float f[12][100];
index ffe646e..aeee34d 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_float } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
 
 float f[12][100];
index 5f98aa2..210540b 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_float } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
 
 float f[12][100];
index 8828517..b4c3d9e 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_float } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
 
 float f[12][100];
index 6a2d549..34bec58 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_float } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
 
 float f[12][100];
index 71e66db..8da0d86 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_float } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
 
 float f[12][100];
index 536672f..bac9cc1 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_float } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
 
 float f[12][100];
index 07b4814..ce70292 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_float } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
 
 float f[12][100];
index 7655852..a513821 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_float } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
 
 #include <stdio.h>