On Fri, 26 May 2023 at 12:11, Matthias Kretz via Libstdc++ < libstd...@gcc.gnu.org> wrote:
> OK for master and all backports (after 11.4 is done)? > OK > > tested on powerpc64le-linux-gnu and x86_64-pc-linux-gnu > > ----------- 8< ------------ > > Signed-off-by: Matthias Kretz <m.kr...@gsi.de> > > libstdc++-v3/ChangeLog: > > PR libstdc++/109822 > * include/experimental/bits/simd.h (to_native): Use int NTTP > as specified in PTS2. > (to_compatible): Likewise. Add missing tag to call mask > generator ctor. > * testsuite/experimental/simd/pr109822_cast_functions.cc: New > test. > --- > libstdc++-v3/include/experimental/bits/simd.h | 7 ++- > .../simd/pr109822_cast_functions.cc | 63 +++++++++++++++++++ > 2 files changed, 67 insertions(+), 3 deletions(-) > create mode 100644 libstdc++-v3/testsuite/experimental/simd/ > pr109822_cast_functions.cc > > > -- > ────────────────────────────────────────────────────────────────────────── > Dr. Matthias Kretz https://mattkretz.github.io > GSI Helmholtz Centre for Heavy Ion Research https://gsi.de > stdₓ::simd > ──────────────────────────────────────────────────────────────────────────