On Thu, 23 Feb 2023 at 08:55, Matthias Kretz via Libstdc++ <libstd...@gcc.gnu.org> wrote: >
OK for trunk (and maybe backport later if you want to). > > Signed-off-by: Matthias Kretz <m.kr...@gsi.de> > > libstdc++-v3/ChangeLog: > > PR libstdc++/108856 > * include/experimental/bits/simd_builtin.h > (_SimdImplBuiltin::_S_masked_unary): More efficient > implementation of masked inc-/decrement for integers and floats > without AVX2. > * include/experimental/bits/simd_x86.h > (_SimdImplX86::_S_masked_unary): New. Use AVX512 masked subtract > builtins for masked inc-/decrement. > --- > .../include/experimental/bits/simd_builtin.h | 27 +++++++- > .../include/experimental/bits/simd_x86.h | 68 +++++++++++++++++++ > 2 files changed, 93 insertions(+), 2 deletions(-) > > > -- > ────────────────────────────────────────────────────────────────────────── > Dr. Matthias Kretz https://mattkretz.github.io > GSI Helmholtz Centre for Heavy Ion Research https://gsi.de > stdₓ::simd > ──────────────────────────────────────────────────────────────────────────