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

Matthias Kretz <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.libstdc++.devel
Organization GSI Helmholtz Center for Heavy Ion Research
Message-ID <[email protected]>
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
──────────────────────────────────────────────────────────────────────────
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.