[PATCH] libstdc++: Ensure the test compiles without AVX512

Matthias Kretz MatthiasKretz@gmx.net
Thu Aug 20 09:57:47 GMT 2026


Matthias Kretz [Tuesday, 18 August 2026, 10:15:15 CEST]:
> Andrea Pinski [Tuesday, 18 August 2026, 10:10:37 CEST]:
> > On Tue, Aug 18, 2026 at 1:06 AM Matthias Kretz wrote:
> > > --- a/libstdc++-v3/testsuite/experimental/simd/pr114958.cc
> > > +++ b/libstdc++-v3/testsuite/experimental/simd/pr114958.cc
> > > @@ -1,7 +1,7 @@
> > > 
> > >  // { dg-options "-std=c++17" }
> > >  // { dg-do compile { target x86_64-*-* } }
> > 
> > This should be `{ target { x86_64-*-* i?86-*-* } && ! ia32 }`
> > Or does this not work for x32? Though I wonder if this works for -m32
> > too.\
> 
> It does work for -m32. And I would assume it also works for x32 (I don't
> have x32 set up anymore).

So, this should be `{ target { x86_64-*-* i?86-*-* } }`, right?




More information about the Libstdc++ mailing list