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.

tested on x86_64-unknown-linux-gnu, pushed.

2021-09-28  Richard Biener  <rguent...@suse.de>

        * gcc.dg/vect/bb-slp-pr65935.c: Prefer 128bit vectorization
        on x86.
---
 gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c 
b/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c
index 5d80f560f56..ee121364910 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"
 
-- 
2.31.1

Reply via email to