On Fri, Aug 29, 2025 at 05:19:18AM -0700, H.J. Lu wrote: > On Thu, Aug 28, 2025 at 10:22 PM Andi Kleen <a...@firstfloor.org> wrote: > > > > > > This patch should fix it. Please confirm. > > > > > > diff --git a/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-1.c > > b/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-1.c > > index e5be3a35538..cb576eb4498 100644 > > --- a/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-1.c > > +++ b/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-1.c > > @@ -1,5 +1,5 @@ > > /* { dg-do compile } */ > > -/* { dg-options "-mgfni -mavx512vl -mavx512bw -mavx512f -O3" } */ > > +/* { dg-options "-mgfni -mavx512vl -mavx512bw -mavx512f -O3 -march=x86-64 > > -mtune=generic" } */ > > -march=x86-64 should be the first option and -mtune=generic shouldn't be > needed.
That was in case someone overrides -mtune for the test suite too. Then it would be needed, right? -Andi