diff mbox series

Fix gcc.dg/vect/bb-slp-77.c for x86

Message ID 20241108141430.D5FE613967@imap1.dmz-prg2.suse.org
State New
Headers show
Series Fix gcc.dg/vect/bb-slp-77.c for x86 | expand

Commit Message

Richard Biener Nov. 8, 2024, 2:14 p.m. UTC
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.

tested on x86-64, pushed

	* 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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-77.c b/gcc/testsuite/gcc.dg/vect/bb-slp-77.c
index b2cc1d114f1..bc74f6a4db3 100644
--- a/gcc/testsuite/gcc.dg/vect/bb-slp-77.c
+++ b/gcc/testsuite/gcc.dg/vect/bb-slp-77.c
@@ -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-*-* } } } } } } */