diff options
author | Matthias Kretz <kretz@kde.org> | 2021-02-03 15:49:29 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-02-03 15:49:29 +0000 |
commit | abc540e30a340ea028af6e6fa3f1921f1f8e334c (patch) | |
tree | b4dba8f905c4f9ba59038da0425840145b76d8e8 | |
parent | db256f9bef8c376e9d88e8f32ce94a03b6d105ee (diff) | |
download | gcc-abc540e30a340ea028af6e6fa3f1921f1f8e334c.zip gcc-abc540e30a340ea028af6e6fa3f1921f1f8e334c.tar.gz gcc-abc540e30a340ea028af6e6fa3f1921f1f8e334c.tar.bz2 |
libstdc++: Fix simd_mask<double> on POWER w/o POWER8
libstdc++-v3/ChangeLog:
* include/experimental/bits/simd.h: Remove unnecessary static
assertion. Allow sizeof(8) integer __intrinsic_type to enable
the necessary mask type.
-rw-r--r-- | libstdc++-v3/include/experimental/bits/simd.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libstdc++-v3/include/experimental/bits/simd.h b/libstdc++-v3/include/experimental/bits/simd.h index 477af86..149396d 100644 --- a/libstdc++-v3/include/experimental/bits/simd.h +++ b/libstdc++-v3/include/experimental/bits/simd.h @@ -2293,12 +2293,6 @@ template <typename _Tp, size_t _Bytes> static_assert(!is_same_v<_Tp, double>, "no __intrinsic_type support for double on PPC w/o VSX"); #endif -#ifndef __POWER8_VECTOR__ - static_assert( - !(is_integral_v<_Tp> && sizeof(_Tp) > 4), - "no __intrinsic_type support for integers larger than 4 Bytes " - "on PPC w/o POWER8 vectors"); -#endif using type = typename __intrinsic_type_impl< conditional_t<is_floating_point_v<_Tp>, |