From: Richard Biener Date: Fri, 8 Nov 2024 14:11:34 +0000 (+0100) Subject: Fix gcc.dg/vect/bb-slp-77.c for x86 X-Git-Tag: basepoints/gcc-16~4508 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12383255fe4e82c31f5e42c72a8fbcb1b5dea35d;p=thirdparty%2Fgcc.git Fix gcc.dg/vect/bb-slp-77.c for x86 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. --- diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-77.c b/gcc/testsuite/gcc.dg/vect/bb-slp-77.c index b2cc1d114f10..bc74f6a4db31 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-*-* } } } } } } */