Ticket #37638: emmintrin.2.patch
File emmintrin.2.patch, 1.1 KB (added by tobias.netzel@…, 11 years ago) |
---|
-
gcc/config/i386/emmintrin.h
1407 1407 return (__m128i)__builtin_ia32_pmuludq128 ((__v4si)__A, (__v4si)__B); 1408 1408 } 1409 1409 1410 #if 01411 1410 /* APPLE LOCAL begin radar 5618945 */ 1412 1411 __STATIC_INLINE __m128i __attribute__((__always_inline__)) 1413 1412 /* APPLE LOCAL end radar 5618945 */ … … 1431 1430 { 1432 1431 return (__m128i)__builtin_ia32_psllqi128 ((__v2di)__A, __B); 1433 1432 } 1434 #else1435 #define _mm_slli_epi16(__A, __B) \1436 ((__m128i)__builtin_ia32_psllwi128 ((__v8hi)(__A), __B))1437 #define _mm_slli_epi32(__A, __B) \1438 ((__m128i)__builtin_ia32_pslldi128 ((__v8hi)(__A), __B))1439 #define _mm_slli_epi64(__A, __B) \1440 ((__m128i)__builtin_ia32_psllqi128 ((__v8hi)(__A), __B))1441 #endif1442 1433 1443 #if 01444 1434 /* APPLE LOCAL begin radar 5618945 */ 1445 1435 __STATIC_INLINE __m128i __attribute__((__always_inline__)) 1446 1436 /* APPLE LOCAL end radar 5618945 */ … … 1476 1466 /* APPLE LOCAL end 5919583 */ 1477 1467 #endif 1478 1468 1479 #if 01480 1469 /* APPLE LOCAL begin radar 5618945 */ 1481 1470 __STATIC_INLINE __m128i __attribute__((__always_inline__)) 1482 1471 /* APPLE LOCAL end radar 5618945 */