Fix gcc.dg/vect/bb-slp-pr65935.c FAIL with AVX after recent change
authorRichard Biener <rguenther@suse.de>
Tue, 28 Sep 2021 06:59:49 +0000 (08:59 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 28 Sep 2021 07:02:12 +0000 (09:02 +0200)
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  <rguenther@suse.de>

* gcc.dg/vect/bb-slp-pr65935.c: Prefer 128bit vectorization
on x86.

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

index 5d80f56..ee12136 100644 (file)
@@ -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"