public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-7071] libstdc++: Fix simd_mask<double> on POWER w/o POWER8
@ 2021-02-03 15:50 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-02-03 15:50 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:abc540e30a340ea028af6e6fa3f1921f1f8e334c

commit r11-7071-gabc540e30a340ea028af6e6fa3f1921f1f8e334c
Author: Matthias Kretz <kretz@kde.org>
Date:   Wed Feb 3 15:49:29 2021 +0000

    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.

Diff:
---
 libstdc++-v3/include/experimental/bits/simd.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/libstdc++-v3/include/experimental/bits/simd.h b/libstdc++-v3/include/experimental/bits/simd.h
index 477af86fd5e..149396d6f82 100644
--- a/libstdc++-v3/include/experimental/bits/simd.h
+++ b/libstdc++-v3/include/experimental/bits/simd.h
@@ -2292,12 +2292,6 @@ template <typename _Tp, size_t _Bytes>
 #ifndef __VSX__
     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<


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-03 15:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 15:50 [gcc r11-7071] libstdc++: Fix simd_mask<double> on POWER w/o POWER8 Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).