diff options
Diffstat (limited to 'gcc/config/rs6000/emmintrin.h')
-rw-r--r-- | gcc/config/rs6000/emmintrin.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gcc/config/rs6000/emmintrin.h b/gcc/config/rs6000/emmintrin.h index aed1625..bae3f13 100644 --- a/gcc/config/rs6000/emmintrin.h +++ b/gcc/config/rs6000/emmintrin.h @@ -1228,7 +1228,7 @@ _mm_loadl_pd (__m128d __A, double const *__B) extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_movemask_pd (__m128d __A) { - __vector __m64 result; + __vector unsigned long long result; static const __vector unsigned int perm_mask = { #ifdef __LITTLE_ENDIAN__ @@ -1238,8 +1238,9 @@ _mm_movemask_pd (__m128d __A) #endif }; - result = (__vector __m64) vec_vbpermq ((__vector unsigned char) __A, - (__vector unsigned char) perm_mask); + result = ((__vector unsigned long long) + vec_vbpermq ((__vector unsigned char) __A, + (__vector unsigned char) perm_mask)); #ifdef __LITTLE_ENDIAN__ return result[1]; @@ -2012,7 +2013,7 @@ _mm_min_epu8 (__m128i __A, __m128i __B) extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_movemask_epi8 (__m128i __A) { - __vector __m64 result; + __vector unsigned long long result; static const __vector unsigned char perm_mask = { #ifdef __LITTLE_ENDIAN__ @@ -2024,8 +2025,9 @@ _mm_movemask_epi8 (__m128i __A) #endif }; - result = (__vector __m64) vec_vbpermq ((__vector unsigned char) __A, - (__vector unsigned char) perm_mask); + result = ((__vector unsigned long long) + vec_vbpermq ((__vector unsigned char) __A, + (__vector unsigned char) perm_mask)); #ifdef __LITTLE_ENDIAN__ return result[1]; |