From da298fdf231a8cd6bbf48c9a12762e408b07e9c2 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Mon, 6 Oct 2008 02:07:50 +0000 Subject: [PATCH] Apparently gcc uses pi64 for the shift intrinsics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57145 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Headers/mmintrin.devel.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Headers/mmintrin.devel.h b/lib/Headers/mmintrin.devel.h index 98a591395c..97b7b0d6ae 100644 --- a/lib/Headers/mmintrin.devel.h +++ b/lib/Headers/mmintrin.devel.h @@ -210,12 +210,12 @@ inline __m64 __attribute__((__always_inline__)) _mm_slli_pi32(__m64 __m, int __c return (__m64)__builtin_ia32_pslldi((__v2si)__m, __count); } -inline __m64 __attribute__((__always_inline__)) _mm_sll_pi64(__m64 __m, __m64 __count) +inline __m64 __attribute__((__always_inline__)) _mm_sll_si64(__m64 __m, __m64 __count) { return __builtin_ia32_psllq(__m, __count); } -inline __m64 __attribute__((__always_inline__)) _mm_slli_pi64(__m64 __m, int __count) +inline __m64 __attribute__((__always_inline__)) _mm_slli_si64(__m64 __m, int __count) { return __builtin_ia32_psllqi(__m, __count); } @@ -260,12 +260,12 @@ inline __m64 __attribute__((__always_inline__)) _mm_srli_pi32(__m64 __m, int __c return (__m64)__builtin_ia32_psrldi((__v2si)__m, __count); } -inline __m64 __attribute__((__always_inline__)) _mm_srl_pi64(__m64 __m, __m64 __count) +inline __m64 __attribute__((__always_inline__)) _mm_srl_si64(__m64 __m, __m64 __count) { return (__m64)__builtin_ia32_psrlq(__m, __count); } -inline __m64 __attribute__((__always_inline__)) _mm_srli_pi64(__m64 __m, int __count) +inline __m64 __attribute__((__always_inline__)) _mm_srli_si64(__m64 __m, int __count) { return __builtin_ia32_psrlqi(__m, __count); } -- 2.40.0