Ticket #37638: emmintrin.2.patch

File emmintrin.2.patch, 1.1 KB (added by tobias.netzel@…, 11 years ago)

patch to be applied after having applied the previous buggy patch

  • gcc/config/i386/emmintrin.h

     
    14071407  return (__m128i)__builtin_ia32_pmuludq128 ((__v4si)__A, (__v4si)__B);
    14081408}
    14091409
    1410 #if 0
    14111410/* APPLE LOCAL begin radar 5618945 */
    14121411__STATIC_INLINE __m128i __attribute__((__always_inline__))
    14131412/* APPLE LOCAL end radar 5618945 */
     
    14311430{
    14321431  return (__m128i)__builtin_ia32_psllqi128 ((__v2di)__A, __B);
    14331432}
    1434 #else
    1435 #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 #endif
    14421433
    1443 #if 0
    14441434/* APPLE LOCAL begin radar 5618945 */
    14451435__STATIC_INLINE __m128i __attribute__((__always_inline__))
    14461436/* APPLE LOCAL end radar 5618945 */
     
    14761466/* APPLE LOCAL end 5919583 */
    14771467#endif
    14781468
    1479 #if 0
    14801469/* APPLE LOCAL begin radar 5618945 */
    14811470__STATIC_INLINE __m128i __attribute__((__always_inline__))
    14821471/* APPLE LOCAL end radar 5618945 */