]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix gcc.dg/vect/bb-slp-77.c for x86
authorRichard Biener <rguenther@suse.de>
Fri, 8 Nov 2024 14:11:34 +0000 (15:11 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 8 Nov 2024 14:15:11 +0000 (15:15 +0100)
x86 doesn't have .REDUC_PLUS for V2SImode - there's no effective
target for that so add it to the list of targets not expecting the
BB vectorization.

* gcc.dg/vect/bb-slp-77.c: Add x86_64-*-* and i?86-*-* to
the list of expected failing targets.

gcc/testsuite/gcc.dg/vect/bb-slp-77.c

index b2cc1d114f10055f4b93bcae2bd01c56556faeb4..bc74f6a4db31a33c67e6901f8b3ece7dc6205e06 100644 (file)
@@ -71,4 +71,4 @@ void test(const int n, float * restrict s, const void * restrict vx, const void
     *s = sumf;
 }
 
-/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp1"  { target { { vect_int_mult && vect_element_align } && { ! powerpc*-*-* } } } } } */
+/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp1"  { target { { vect_int_mult && vect_element_align } && { ! { powerpc*-*-* x86_64-*-* i?86-*-* } } } } } } */