]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fixup gcc.dg/vect/costmodel/x86_64/costmodel-vect-epil-1.c
authorRichard Biener <rguenther@suse.de>
Mon, 26 Jan 2026 08:07:38 +0000 (09:07 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 26 Jan 2026 08:08:52 +0000 (09:08 +0100)
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.

gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-vect-epil-1.c

index 5b8c358b2a4a0d6338d924a9c4766dcbbb2a99e9..abb9f6681c2eff8a95537f32a1007847bb4c1323 100644 (file)
@@ -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,