From: Richard Biener Date: Tue, 28 Sep 2021 06:59:49 +0000 (+0200) Subject: Fix gcc.dg/vect/bb-slp-pr65935.c FAIL with AVX after recent change X-Git-Tag: basepoints/gcc-13~4402 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fabd9e25d1438b506c0c3979330cfd3034af317;p=thirdparty%2Fgcc.git Fix gcc.dg/vect/bb-slp-pr65935.c FAIL with AVX after recent change This avoids bigger than V2DF vectorization which disturbs the ability to consistently check for the vectorization result after us now also vectorizing the V2DF tail of a V4DF vectorization variant. 2021-09-28 Richard Biener * gcc.dg/vect/bb-slp-pr65935.c: Prefer 128bit vectorization on x86. --- diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c index 5d80f560f568..ee1213649107 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c @@ -1,5 +1,6 @@ /* { dg-additional-options "-O3" } */ /* { dg-require-effective-target vect_double } */ +/* { dg-additional-options "-mprefer-vector-width=128" { target x86_64-*-* i?86-*-* } } */ #include "tree-vect.h"