diff options
author | William Schmidt <wschmidt@gcc.gnu.org> | 2018-10-24 14:29:11 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2018-10-24 14:29:11 +0000 |
commit | 28d2dc757edb6728d1a0f706ffc308aadbd082fc (patch) | |
tree | 60d69ae1bf6cb7b062aae28d453ca216471f0c72 /gcc | |
parent | 767d455188bb578360d8330782b161471997e3c3 (diff) | |
download | gcc-28d2dc757edb6728d1a0f706ffc308aadbd082fc.zip gcc-28d2dc757edb6728d1a0f706ffc308aadbd082fc.tar.gz gcc-28d2dc757edb6728d1a0f706ffc308aadbd082fc.tar.bz2 |
emmintrin.h (_mm_cvtpd_epi32): Change deprecated __vector long to __vector long long.
2018-10-24 Bill Schmidt <wschmidt@linux.ibm.com>
Jinsong Ji <jji@us.ibm.com>
* config/rs6000/emmintrin.h (_mm_cvtpd_epi32): Change deprecated
__vector long to __vector long long.
(_mm_cvtpd_ps): Likewise.
(_mm_cvttpd_epi32): Likewise.
(_mm_cvtpi32_pd): Likewise.
(_mm_unpackhi_epi64): Likewise.
(_mm_unpacklo_epi64): Likewise.
From-SVN: r265464
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/emmintrin.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/gcc/config/rs6000/emmintrin.h b/gcc/config/rs6000/emmintrin.h index 3549183..c499c9d 100644 --- a/gcc/config/rs6000/emmintrin.h +++ b/gcc/config/rs6000/emmintrin.h @@ -888,7 +888,8 @@ _mm_cvtpd_epi32 (__m128d __A) #ifdef _ARCH_PWR8 temp = vec_mergeo (temp, temp); - result = (__v4si)vec_vpkudum ((__vector long)temp, (__vector long)vzero); + result = (__v4si) vec_vpkudum ((__vector long long) temp, + (__vector long long) vzero); #else { const __v16qu pkperm = {0x00, 0x01, 0x02, 0x03, 0x08, 0x09, 0x0a, 0x0b, @@ -922,7 +923,8 @@ _mm_cvtpd_ps (__m128d __A) #ifdef _ARCH_PWR8 temp = vec_mergeo (temp, temp); - result = (__v4sf)vec_vpkudum ((__vector long)temp, (__vector long)vzero); + result = (__v4sf) vec_vpkudum ((__vector long long) temp, + (__vector long long) vzero); #else { const __v16qu pkperm = {0x00, 0x01, 0x02, 0x03, 0x08, 0x09, 0x0a, 0x0b, @@ -950,7 +952,8 @@ _mm_cvttpd_epi32 (__m128d __A) #ifdef _ARCH_PWR8 temp = vec_mergeo (temp, temp); - result = (__v4si)vec_vpkudum ((__vector long)temp, (__vector long)vzero); + result = (__v4si) vec_vpkudum ((__vector long long) temp, + (__vector long long) vzero); #else { const __v16qu pkperm = {0x00, 0x01, 0x02, 0x03, 0x08, 0x09, 0x0a, 0x0b, @@ -986,7 +989,7 @@ _mm_cvtpi32_pd (__m64 __A) temp = (__v4si)vec_splats (__A); tmp2 = (__v2di)vec_unpackl (temp); - result = vec_ctf ((__vector signed long)tmp2, 0); + result = vec_ctf ((__vector signed long long) tmp2, 0); return (__m128d)result; } #endif @@ -1289,7 +1292,8 @@ _mm_unpackhi_epi32 (__m128i __A, __m128i __B) extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_unpackhi_epi64 (__m128i __A, __m128i __B) { - return (__m128i) vec_mergel ((__vector long)__A, (__vector long)__B); + return (__m128i) vec_mergel ((__vector long long) __A, + (__vector long long) __B); } extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__)) @@ -1313,7 +1317,8 @@ _mm_unpacklo_epi32 (__m128i __A, __m128i __B) extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_unpacklo_epi64 (__m128i __A, __m128i __B) { - return (__m128i) vec_mergeh ((__vector long)__A, (__vector long)__B); + return (__m128i) vec_mergeh ((__vector long long) __A, + (__vector long long) __B); } extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__)) |