]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: un-xfail TSVC loops that check for exit control flow vectorization
authorTamar Christina <tamar.christina@arm.com>
Sun, 24 Dec 2023 19:20:08 +0000 (19:20 +0000)
committerTamar Christina <tamar.christina@arm.com>
Sun, 24 Dec 2023 19:30:09 +0000 (19:30 +0000)
The following three tests now correctly work for targets that have an
implementation of cbranch for vectors so XFAILs are conditionally removed gated
on vect_early_break support.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/tsvc/vect-tsvc-s332.c: Remove xfail when early break
supported.
* gcc.dg/vect/tsvc/vect-tsvc-s481.c: Likewise.
* gcc.dg/vect/tsvc/vect-tsvc-s482.c: Likewise.

gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s332.c
gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s481.c
gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s482.c

index 3fd490b3797d9f033c8804b813ee6e222aa45a3b..0d55d0dd67c3b2e53c8cc4a44428f9cee5a1cd5d 100644 (file)
@@ -3,6 +3,7 @@
 
 /* { dg-additional-options "--param vect-epilogues-nomask=0" } */
 /* { dg-require-effective-target vect_float } */
+/* { dg-add-options vect_early_break } */
 
 #include "tsvc.h"
 
@@ -49,4 +50,4 @@ int main (int argc, char **argv)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail { ! vect_early_break } } } } */
index bf98e173d2e6315ffc45477642eab7f9441c4376..5539f0f08411f02303f809f971d5337af8904ab0 100644 (file)
@@ -3,6 +3,7 @@
 
 /* { dg-additional-options "--param vect-epilogues-nomask=0" } */
 /* { dg-require-effective-target vect_float } */
+/* { dg-add-options vect_early_break } */
 
 #include "tsvc.h"
 
@@ -39,4 +40,4 @@ int main (int argc, char **argv)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail { ! vect_early_break} } } } */
index c4e26806292af03d59d5b9dc13777ba36831c7fc..73bed5d4c57a279a9bb8ef3f561c2b2ba05a7ef7 100644 (file)
@@ -3,6 +3,7 @@
 
 /* { dg-additional-options "--param vect-epilogues-nomask=0" } */
 /* { dg-require-effective-target vect_float } */
+/* { dg-add-options vect_early_break } */
 
 #include "tsvc.h"
 
@@ -37,4 +38,4 @@ int main (int argc, char **argv)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail { ! vect_early_break } } } } */