]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix test on x86_64 and non-simd targets
authorMatthias Kretz <m.kretz@gsi.de>
Fri, 21 Jun 2024 14:22:22 +0000 (16:22 +0200)
committerMatthias Kretz <m.kretz@gsi.de>
Fri, 21 Jun 2024 16:06:36 +0000 (18:06 +0200)
commit77f321435b4ac37992c2ed6737ca0caa1dd50551
tree0a1076fdf1f075ab70b3fdb8200472d0358b2f7e
parent5320bcbd342a985a6e1db60bff2918f73dcad1a0
libstdc++: Fix test on x86_64 and non-simd targets

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

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.
libstdc++-v3/testsuite/experimental/simd/pr115454_find_last_set.cc