[gcc r16-7036] Fixup gcc.dg/vect/costmodel/x86_64/costmodel-vect-epil-1.c
Richard Biener
rguenth@gcc.gnu.org
Mon Jan 26 08:09:07 GMT 2026
https://gcc.gnu.org/g:f7454da3346105c972c5bf598263dafe74a7f2e0
commit r16-7036-gf7454da3346105c972c5bf598263dafe74a7f2e0
Author: Richard Biener <rguenther@suse.de>
Date: Mon Jan 26 09:07:38 2026 +0100
Fixup gcc.dg/vect/costmodel/x86_64/costmodel-vect-epil-1.c
This makes 512 vector size explicit to avoid FAIL with -march
that selects a 256 default.
* gcc.dg/vect/costmodel/x86_64/costmodel-vect-epil-1.c: Use
-mprefer-vector-width=512.
Diff:
---
gcc/testsuite/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 5b8c358b2a4a..abb9f6681c2e 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,
More information about the Gcc-cvs
mailing list