https://gcc.gnu.org/g:313ca57ed380ac037fbbce6124af070a7bd27cb6
commit r17-3913-g313ca57ed380ac037fbbce6124af070a7bd27cb6 Author: H.J. Lu <[email protected]> Date: Sat Aug 29 07:54:13 2026 +0800 x86: Compile vect-pack-trunc-2.c with -mtune=generic Compile vect-pack-trunc-2.c with -mtune=generic to avoid FAIL: gcc.target/i386/vect-pack-trunc-2.c scan-assembler-times vperm[it]2w[ \\t]+[^\n]*%zmm 1 when different tunings are used. PR testsuite/126923 * gcc.target/i386/vect-pack-trunc-2.c (dg-options): Add -mtune=generic. Signed-off-by: H.J. Lu <[email protected]> Diff: --- gcc/testsuite/gcc.target/i386/vect-pack-trunc-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/vect-pack-trunc-2.c b/gcc/testsuite/gcc.target/i386/vect-pack-trunc-2.c index c42f317ddf4f..35c26656f40e 100644 --- a/gcc/testsuite/gcc.target/i386/vect-pack-trunc-2.c +++ b/gcc/testsuite/gcc.target/i386/vect-pack-trunc-2.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O2 -ftree-vectorize -ffast-math -mavx512bw -save-temps" } */ +/* { dg-options "-O2 -ftree-vectorize -ffast-math -mavx512bw -mtune=generic -save-temps" } */ /* { dg-require-effective-target avx512bw } */ #include "avx512bw-check.h"
