Ticket #37638: emmintrin.patch

File emmintrin.patch, 1.8 KB (added by internetzel, 12 years ago)

This patch patches the patchfile, distfiles/apple-gcc42/gcc-4.2.1-4.2.4.patch .

  • gcc-4.2.1-4.2.4.patch

     
    1077010770+#endif /* __GNUC__ */
    1077110771diff -Nru gcc/config/i386/emmintrin.h gcc/config/i386/emmintrin.h
    1077210772--- gcc/config/i386/emmintrin.h 2010-10-14 22:27:48.000000000 +0200
    10773 +++ gcc/config/i386/emmintrin.h 2012-12-31 17:06:03.000000000 +0100
    10774 @@ -1456,12 +1456,6 @@
     10773+++ gcc/config/i386/emmintrin.h 2013-01-14 11:46:52.000000000 +0100
     10774@@ -1407,7 +1407,6 @@
     10775   return (__m128i)__builtin_ia32_pmuludq128 ((__v4si)__A, (__v4si)__B);
     10776 }
     10777 
     10778-#if 0
     10779 /* APPLE LOCAL begin radar 5618945 */
     10780 __STATIC_INLINE __m128i __attribute__((__always_inline__))
     10781 /* APPLE LOCAL end radar 5618945 */
     10782@@ -1431,16 +1430,7 @@
     10783 {
     10784   return (__m128i)__builtin_ia32_psllqi128 ((__v2di)__A, __B);
     10785 }
     10786-#else
     10787-#define _mm_slli_epi16(__A, __B) \
     10788-  ((__m128i)__builtin_ia32_psllwi128 ((__v8hi)(__A), __B))
     10789-#define _mm_slli_epi32(__A, __B) \
     10790-  ((__m128i)__builtin_ia32_pslldi128 ((__v8hi)(__A), __B))
     10791-#define _mm_slli_epi64(__A, __B) \
     10792-  ((__m128i)__builtin_ia32_psllqi128 ((__v8hi)(__A), __B))
     10793-#endif
     10794 
     10795-#if 0
     10796 /* APPLE LOCAL begin radar 5618945 */
     10797 __STATIC_INLINE __m128i __attribute__((__always_inline__))
     10798 /* APPLE LOCAL end radar 5618945 */
     10799@@ -1456,12 +1446,6 @@
    1077510800 {
    1077610801   return (__m128i)__builtin_ia32_psradi128 ((__v4si)__A, __B);
    1077710802 }
     
    1078410809 
    1078510810 #if 0
    1078610811 static __m128i __attribute__((__always_inline__))
    10787 @@ -1506,14 +1500,6 @@
     10812@@ -1482,7 +1466,6 @@
     10813 /* APPLE LOCAL end 5919583 */
     10814 #endif
     10815 
     10816-#if 0
     10817 /* APPLE LOCAL begin radar 5618945 */
     10818 __STATIC_INLINE __m128i __attribute__((__always_inline__))
     10819 /* APPLE LOCAL end radar 5618945 */
     10820@@ -1506,14 +1489,6 @@
    1078810821 {
    1078910822   return (__m128i)__builtin_ia32_psrlqi128 ((__v2di)__A, __B);
    1079010823 }