This is the first part of a fix for the failure of the new simd test on non- VSX POWER targets. There are more casts to unavailable vectors of 64-bit element types to be rewritten. OK for master and backports? Tested on x86_64-pc-linux-gnu and powerpc64le-linux-gnu ------ >8 ------- Signed-off-by: Matthias Kretz libstdc++-v3/ChangeLog: PR libstdc++/109822 * include/experimental/bits/simd_builtin.h (_S_store): Rewrite to avoid casts to other vector types. Implement store as succession of power-of-2 sized memcpy to avoid PR90424. --- .../include/experimental/bits/simd_builtin.h | 40 +++++++------------ 1 file changed, 15 insertions(+), 25 deletions(-) -- ────────────────────────────────────────────────────────────────────────── Dr. Matthias Kretz https://mattkretz.github.io GSI Helmholtz Centre for Heavy Ion Research https://gsi.de stdₓ::simd ──────────────────────────────────────────────────────────────────────────