libstdc++: Fix condition when AVX512F ldexp implementation is used
authorMatthias Kretz <m.kretz@gsi.de>
Thu, 24 Jun 2021 13:20:15 +0000 (14:20 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 24 Jun 2021 13:33:20 +0000 (14:33 +0100)
commit5014f12509980d51cfbb34bb61b1605356592afd
treef817a4a5ffe5e124a100b6db328cda515deb471e
parent62a989ea66e8b1d4c3ed4218c5115e050072711a
libstdc++: Fix condition when AVX512F ldexp implementation is used

This improves codegen of ldexp if AVX512VL is available.

Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
libstdc++-v3/ChangeLog:

* include/experimental/bits/simd_x86.h (_S_ldexp): The AVX512F
implementation doesn't require a _VecBltnBtmsk ABI tag, it
requires either a 64-Byte input (in which case AVX512F must be
available) or AVX512VL.
libstdc++-v3/include/experimental/bits/simd_x86.h