[PATCH] libstdc++: Fix test on x86_64 and non-simd targets
Jonathan Wakely
jwakely@redhat.com
Fri Jun 21 15:54:11 GMT 2024
On Fri, 21 Jun 2024 at 16:07, Matthias Kretz <m.kretz@gsi.de> wrote:
>
>
> * Running a test compiled with AVX512 instructions requires
> avx512f_runtime not just avx512f.
>
> * The 'reduce2' test violated an invariant of fixed_size_simd_mask and
> thus failed on all targets without 16-Byte vector builtins enabled (in
> bits/simd.h).
OK, thanks for the quick diagnosis and fix.
>
> Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
>
> libstdc++-v3/ChangeLog:
>
> PR libstdc++/115575
> * testsuite/experimental/simd/pr115454_find_last_set.cc: Require
> avx512f_runtime. Don't memcpy fixed_size masks.
> ---
> .../testsuite/experimental/simd/pr115454_find_last_set.cc | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
>
> --
> ──────────────────────────────────────────────────────────────────────────
> Dr. Matthias Kretz https://mattkretz.github.io
> GSI Helmholtz Centre for Heavy Ion Research https://gsi.de
> stdₓ::simd
> ──────────────────────────────────────────────────────────────────────────
More information about the Libstdc++
mailing list