> -----Original Message-----
> From: Liu, Hongtao
> Sent: Monday, August 31, 2026 1:02 PM
> To: 'H.J. Lu' <[email protected]>; GCC Patches <[email protected]>;
> Uros Bizjak <[email protected]>
> Subject: RE: [PATCH] x86: Compile vect-pack-trunc-2.c with -mtune=generic
> 
> 
> 
> > -----Original Message-----
> > From: H.J. Lu <[email protected]>
> > Sent: Monday, August 31, 2026 7:40 AM
> > To: GCC Patches <[email protected]>; Uros Bizjak
> > <[email protected]>; Liu, Hongtao <[email protected]>
> > Subject: [PATCH] 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.
> Add -mprefer-vector-width=512 instead of -mtune=generic?
Hmm, for znver5, there's masked epilogue, so it still failed with 
-mprefer-vector-width=512.
Ok with the original patch(generic tune applied).
> 
> >
> > PR testsuite/126923
> > * gcc.target/i386/vect-pack-trunc-2.c (dg-options): Add -mtune=generic.
> >
> > --
> > H.J.

Reply via email to