]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/116660 - adjust testcases unexpectedly failing on 32bit sparc
authorRichard Biener <rguenther@suse.de>
Wed, 2 Oct 2024 09:27:09 +0000 (11:27 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 Oct 2024 09:29:36 +0000 (11:29 +0200)
Both testcases miss some effective target requires.

PR testsuite/116660
* gcc.dg/vect/no-scevccp-outer-12.c: Add vect_pack_trunc.
* gcc.dg/vect/vect-multitypes-6.c: Add vect_char_add, remove
explicit 32bit sparc XFAIL.

gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
gcc/testsuite/gcc.dg/vect/vect-multitypes-6.c

index 6ace6ad022ee288e38ea3603cae6f96588071761..b94256d48db149e295ad7d71ed0e6a0519be1c67 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-require-effective-target vect_pack_trunc } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 73d3b30384ebc4f15b853a140512d004262db3ef..e03d62f6a85e22c8effc798053ea7791669bf7b4 100644 (file)
@@ -1,6 +1,7 @@
 /* Disabling epilogues until we find a better way to deal with scans.  */
 /* { dg-additional-options "--param vect-epilogues-nomask=0" } */
 /* { dg-require-effective-target vect_int } */
+/* { dg-require-effective-target vect_char_add } */
 /* { dg-add-options double_vectors } */
 
 #include <stdarg.h>
@@ -67,7 +68,7 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { sparc*-*-* && ilp32 } }} } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
 /* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 6 "vect" { target { vect_no_align && { ! vect_hw_misalign } } } } } */
 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 6 "vect" { xfail { ! { vect_unaligned_possible && vect_align_stack_vars } } } } } */