[PATCH] libstdc++: Correct NTTP and simd_mask ctor call

Jonathan Wakely jwakely@redhat.com
Fri May 26 15:46:18 GMT 2023


On Fri, 26 May 2023 at 12:11, Matthias Kretz via Libstdc++ <
libstdc++@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.kretz@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
> ──────────────────────────────────────────────────────────────────────────


More information about the Gcc-patches mailing list