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

Matthias Kretz MatthiasKretz@gmx.net
Tue Aug 18 08:15:15 GMT 2026


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).

-- 
──────────────────────────────────────────────────────────────────────────
 Dr. Matthias Kretz                           https://mattkretz.github.io
 GSI Helmholtz Center for Heavy Ion Research               https://gsi.de
 std::simd
──────────────────────────────────────────────────────────────────────────


More information about the Libstdc++ mailing list