aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-07-05 09:59:44 +0200
committerRichard Biener <rguenther@suse.de>2023-07-05 10:05:05 +0200
commita9c6db31cbe9bedd2dde1c50a7007a67750a0f50 (patch)
treef16727a2a6f79b0f47b24b964edcc04bb58bbd41
parentb647f75a6ad35e241212977a331aa23fce3a0805 (diff)
downloadgcc-a9c6db31cbe9bedd2dde1c50a7007a67750a0f50.zip
gcc-a9c6db31cbe9bedd2dde1c50a7007a67750a0f50.tar.gz
gcc-a9c6db31cbe9bedd2dde1c50a7007a67750a0f50.tar.bz2
adjust testcase for now happening epilogue vectorization
gcc.dg/vect/slp-perm-9.c is reported to FAIL with -march=cascadelake now which is because we now vectorize the epilogue with V2HImode vectors after the recent change to not scrap too large vector epilogues during transform but during analysis time. The following adjusts the testcase to always use the existing alternate N which avoids epilogue vectorization. * gcc.dg/vect/slp-perm-9.c: Always use alternate N.
-rw-r--r--gcc/testsuite/gcc.dg/vect/slp-perm-9.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/slp-perm-9.c b/gcc/testsuite/gcc.dg/vect/slp-perm-9.c
index 154c00a..f1f5d4f 100644
--- a/gcc/testsuite/gcc.dg/vect/slp-perm-9.c
+++ b/gcc/testsuite/gcc.dg/vect/slp-perm-9.c
@@ -3,11 +3,7 @@
#include <stdarg.h>
#include "tree-vect.h"
-#if VECTOR_BITS > 512
#define N (VECTOR_BITS * 6 / 16)
-#else
-#define N 200
-#endif
void __attribute__((noinline))
foo (unsigned short *__restrict__ pInput, unsigned short *__restrict__ pOutput)