[llvm-commits] [llvm-gcc-4.2] r90648 - in /llvm-gcc-4.2/trunk/gcc/config/i386: mmintrin.h tmmintrin.h
Eric Christopher
echristo at apple.com
Fri Dec 4 22:16:35 PST 2009
Author: echristo
Date: Sat Dec 5 00:16:35 2009
New Revision: 90648
URL: http://llvm.org/viewvc/llvm-project?rev=90648&view=rev
Log:
These should be v1di, not long long.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/mmintrin.h
llvm-gcc-4.2/trunk/gcc/config/i386/tmmintrin.h
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/mmintrin.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/mmintrin.h?rev=90648&r1=90647&r2=90648&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/mmintrin.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/mmintrin.h Sat Dec 5 00:16:35 2009
@@ -44,6 +44,8 @@
typedef int __v2si __attribute__ ((__vector_size__ (8)));
typedef short __v4hi __attribute__ ((__vector_size__ (8)));
typedef char __v8qi __attribute__ ((__vector_size__ (8)));
+/* LLVM LOCAL */
+typedef long long __v1di __attribute__ ((__vector_size__ (8)));
/* APPLE LOCAL begin nodebug inline 4152603 */
#define __always_inline__ __always_inline__, __nodebug__
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/tmmintrin.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/tmmintrin.h?rev=90648&r1=90647&r2=90648&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/tmmintrin.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/tmmintrin.h Sat Dec 5 00:16:35 2009
@@ -243,9 +243,10 @@
#define _mm_alignr_epi8(__X, __Y, __N) \
((__m128i)__builtin_ia32_palignr128 ((__v2di)(__X), (__v2di)(__Y), (__N) * 8))
/* APPLE LOCAL end 5814283 */
-
+/* LLVM LOCAL begin */
#define _mm_alignr_pi8(__X, __Y, __N) \
- ((__m64)__builtin_ia32_palignr ((long long) (__X), (long long) (__Y), (__N) * 8))
+ ((__m64)__builtin_ia32_palignr ((__v1di) (__X), (__v1di) (__Y), (__N) * 8))
+/* LLVM LOCAL end */
/* APPLE LOCAL begin radar 5618945 */
__STATIC_INLINE __m128i __attribute__((__always_inline__))
More information about the llvm-commits
mailing list