[llvm-commits] [llvm-gcc-4.2] r56739 - /llvm-gcc-4.2/trunk/gcc/config/i386/emmintrin.h

Evan Cheng evan.cheng at apple.com
Sun Sep 28 01:10:08 PDT 2008


This changes the semantics of _mm_srli_si128 and broke some apps. I'll  
back it out. I'll made sure it's backed out of the Apple gcc tree as  
well.

Evan
On Sep 26, 2008, at 5:48 PM, Bill Wendling wrote:

> Author: void
> Date: Fri Sep 26 19:48:50 2008
> New Revision: 56739
>
> URL: http://llvm.org/viewvc/llvm-project?rev=56739&view=rev
> Log:
> Remove params and move multiplication to i386/i386.c.
>
> Modified:
>    llvm-gcc-4.2/trunk/gcc/config/i386/emmintrin.h
>
> Modified: llvm-gcc-4.2/trunk/gcc/config/i386/emmintrin.h
> URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/emmintrin.h?rev=56739&r1=56738&r2=56739&view=diff
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- llvm-gcc-4.2/trunk/gcc/config/i386/emmintrin.h (original)
> +++ llvm-gcc-4.2/trunk/gcc/config/i386/emmintrin.h Fri Sep 26  
> 19:48:50 2008
> @@ -1476,10 +1476,10 @@
>   return ((__m128i)__builtin_ia32_pslldqi128 (__A, __B * 8));
> }
> #else
> -#define _mm_srli_si128(__A, __B) \
> -  ((__m128i)__builtin_ia32_psrldqi128 (__A, (__B) * 8))
> -#define _mm_slli_si128(__A, __B) \
> -  ((__m128i)__builtin_ia32_pslldqi128 (__A, (__B) * 8))
> +/* APPLE LOCAL begin 5919583 */
> +#define _mm_srli_si128  (__m128i)__builtin_ia32_psrldqi128
> +#define _mm_slli_si128  (__m128i)__builtin_ia32_pslldqi128
> +/* APPLE LOCAL end 5919583 */
> #endif
>
> #if 0
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list