aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-09-28 08:59:49 +0200
committerRichard Biener <rguenther@suse.de>2021-09-28 09:02:12 +0200
commit6fabd9e25d1438b506c0c3979330cfd3034af317 (patch)
treeed67b7cbfdb88c8c05a9156bba080338f7913563 /gcc
parente475ae9bbf0c85a7d60f236c5a744e163a9ef7b8 (diff)
downloadgcc-6fabd9e25d1438b506c0c3979330cfd3034af317.zip
gcc-6fabd9e25d1438b506c0c3979330cfd3034af317.tar.gz
gcc-6fabd9e25d1438b506c0c3979330cfd3034af317.tar.bz2
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 <rguenther@suse.de> * gcc.dg/vect/bb-slp-pr65935.c: Prefer 128bit vectorization on x86.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c
index 5d80f56..ee12136 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"