diff mbox series

Fix gcc.dg/vect/bb-slp-pr65935.c FAIL with AVX after recent change

Message ID rq5s2r8-o8s1-ro18-pop2-p8ro3p275q@fhfr.qr
State New
Headers show
Series Fix gcc.dg/vect/bb-slp-pr65935.c FAIL with AVX after recent change | expand

Commit Message

Richard Biener Sept. 28, 2021, 7:01 a.m. UTC
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  <rguenther@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 mbox series

Patch

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"