From: William Schmidt Date: Wed, 24 Oct 2018 14:29:11 +0000 (+0000) Subject: emmintrin.h (_mm_cvtpd_epi32): Change deprecated __vector long to __vector long long. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28d2dc757edb6728d1a0f706ffc308aadbd082fc;p=gcc.git emmintrin.h (_mm_cvtpd_epi32): Change deprecated __vector long to __vector long long. 2018-10-24 Bill Schmidt Jinsong Ji * 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 --- diff --git a/gcc/config/rs6000/emmintrin.h b/gcc/config/rs6000/emmintrin.h index 3549183e458..c499c9dc029 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__))