This makes 512 vector size explicit to avoid FAIL with -march
that selects a 256 default.
Tested on x86, pushed.
* gcc.dg/vect/costmodel/x86_64/costmodel-vect-epil-1.c: Use
-mprefer-vector-width=512.
---
.../gcc.dg/vect/costmodel/x86_64/costmodel-vect-epil-1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-vect-epil-1.c
b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-vect-epil-1.c
index 5b8c358b2a4..abb9f6681c2 100644
--- a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-vect-epil-1.c
+++ b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-vect-epil-1.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-additional-options "-mavx512bw -mtune-ctrl=avx512_masked_epilogues" }
*/
+/* { dg-additional-options "-mavx512bw -mtune-ctrl=avx512_masked_epilogues
-mprefer-vector-width=512" } */
void test (const unsigned char * __restrict__ pi,
const float * __restrict__ blk,
--
2.51.0