Re: [r16-3364 Regression] FAIL: gcc.target/i386/shift-gf2p8affine-7.c scan-assembler-times vgf2p8affineqb 53 on Linux/x86_64

Andi Kleen <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.regression
Message-ID <aLHAf03/[email protected]>
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 <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.