aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2018-03-28 20:40:36 +0000
committerWilliam Schmidt <wschmidt@gcc.gnu.org>2018-03-28 20:40:36 +0000
commit69c94135fc0d62a7ccb017dcc0e0b79c44d3d26e (patch)
treed6962ef9c3894c5dfe6c68c6c104ee9836d0e453
parent9b0588e9362bdd86f4cfdbe115e220b38ed23aaa (diff)
downloadgcc-69c94135fc0d62a7ccb017dcc0e0b79c44d3d26e.zip
gcc-69c94135fc0d62a7ccb017dcc0e0b79c44d3d26e.tar.gz
gcc-69c94135fc0d62a7ccb017dcc0e0b79c44d3d26e.tar.bz2
xmmintrin.h (_mm_max_pi16): Use __vector __bool instead of __vector bool.
2018-03-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/xmmintrin.h (_mm_max_pi16): Use __vector __bool instead of __vector bool. (_mm_max_pu8): Likewise. (_mm_min_pi16): Likewise. From-SVN: r258936
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/rs6000/xmmintrin.h16
2 files changed, 15 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 113b0bc..48eeecb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2018-03-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
+
+ * config/rs6000/xmmintrin.h (_mm_max_pi16): Use __vector __bool
+ instead of __vector bool.
+ (_mm_max_pu8): Likewise.
+ (_mm_min_pi16): Likewise.
+
2018-03-28 Peter Bergner <bergner@vnet.ibm.com>
PR target/84912
diff --git a/gcc/config/rs6000/xmmintrin.h b/gcc/config/rs6000/xmmintrin.h
index 4f3660a..2cf2bf2 100644
--- a/gcc/config/rs6000/xmmintrin.h
+++ b/gcc/config/rs6000/xmmintrin.h
@@ -1398,11 +1398,11 @@ _mm_max_pi16 (__m64 __A, __m64 __B)
{
#if _ARCH_PWR8
__vector signed short a, b, r;
- __vector bool short c;
+ __vector __bool short c;
a = (__vector signed short)vec_splats (__A);
b = (__vector signed short)vec_splats (__B);
- c = (__vector bool short)vec_cmpgt (a, b);
+ c = (__vector __bool short)vec_cmpgt (a, b);
r = vec_sel (b, a, c);
return (__builtin_unpack_vector_int128 ((__vector __int128_t)r, 0));
#else
@@ -1436,11 +1436,11 @@ _mm_max_pu8 (__m64 __A, __m64 __B)
{
#if _ARCH_PWR8
__vector unsigned char a, b, r;
- __vector bool char c;
+ __vector __bool char c;
a = (__vector unsigned char)vec_splats (__A);
b = (__vector unsigned char)vec_splats (__B);
- c = (__vector bool char)vec_cmpgt (a, b);
+ c = (__vector __bool char)vec_cmpgt (a, b);
r = vec_sel (b, a, c);
return (__builtin_unpack_vector_int128 ((__vector __int128_t)r, 0));
#else
@@ -1472,11 +1472,11 @@ _mm_min_pi16 (__m64 __A, __m64 __B)
{
#if _ARCH_PWR8
__vector signed short a, b, r;
- __vector bool short c;
+ __vector __bool short c;
a = (__vector signed short)vec_splats (__A);
b = (__vector signed short)vec_splats (__B);
- c = (__vector bool short)vec_cmplt (a, b);
+ c = (__vector __bool short)vec_cmplt (a, b);
r = vec_sel (b, a, c);
return (__builtin_unpack_vector_int128 ((__vector __int128_t)r, 0));
#else
@@ -1510,11 +1510,11 @@ _mm_min_pu8 (__m64 __A, __m64 __B)
{
#if _ARCH_PWR8
__vector unsigned char a, b, r;
- __vector bool char c;
+ __vector __bool char c;
a = (__vector unsigned char)vec_splats (__A);
b = (__vector unsigned char)vec_splats (__B);
- c = (__vector bool char)vec_cmplt (a, b);
+ c = (__vector __bool char)vec_cmplt (a, b);
r = vec_sel (b, a, c);
return (__builtin_unpack_vector_int128 ((__vector __int128_t)r, 0));
#else