Re: [r16-3364 Regression] FAIL: gcc.target/i386/shift-gf2p8affine-7.c scan-assembler-times vgf2p8affineqb 53 on Linux/x86_64
"H.J. Lu via Gcc-regression" <[email protected]>
| Newsgroups | gmane.comp.gcc.regression,gmane.comp.gcc.patches |
|---|---|
| Message-ID | <CAMe9rOo6zJF+TcgX2M-sQGC7C5Q_B2z2bAgFAWE2-T9OreuTtA@mail.gmail.com> |
On Fri, Aug 29, 2025 at 8:18 AM H.J. Lu <[email protected]> wrote: > > On Fri, Aug 29, 2025 at 8:00 AM Andi Kleen <[email protected]> wrote: > > > > 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? > > > > -march=x86-64 should imply -mtune=generic. > I was wrong. -mtune=generic is needed. -- H.J.