> -----Original Message-----
> From: H.J. Lu <[email protected]>
> Sent: Monday, August 31, 2026 7:41 AM
> To: GCC Patches <[email protected]>; Uros Bizjak
> <[email protected]>; Liu, Hongtao <[email protected]>
> Subject: [PATCH] x86: Compile vect-unpack-[123].c with -mtune=generic
> 
> Compile vect-unpack-[123].c with -mtune=generic to avoid
> 
> FAIL: gcc.target/i386/vect-unpack-1.c scan-assembler-times
> vpmovzxbw[ \\t]+[^\n]*%zmm 2
> FAIL: gcc.target/i386/vect-unpack-2.c scan-assembler-times
> vpmovsxbw[ \\t]+[^\n]*%zmm 2
> FAIL: gcc.target/i386/vect-unpack-3.c scan-assembler-not
> vpmovsxbw[ \\t]+[^\n]*%zmm
> 
> when different tunings are used.
Use -mprefer-vector-width=512?

> 
>  PR testsuite/126923
> * gcc.target/i386/vect-unpack-1.c (dg-options): Add -mtune=generic.
> * gcc.target/i386/vect-unpack-2.c (dg-options): Likewise.
> * gcc.target/i386/vect-unpack-3.c (dg-options): Likewise.
> --
> H.J.

Reply via email to