[cfe-dev] [Clang++] Error with handling casting operator to SIMD types

Chris Lattner clattner at apple.com
Sat May 15 09:56:15 PDT 2010


Fixed in r103873, thanks!

On May 15, 2010, at 7:12 AM, joel falcou wrote:

> Latest pacth fix almost everything except for __m128d.
> at line 1313 in emmintrin.h
> 
> #define _mm_shuffle_pd(a, b, i) (__builtin_shufflevector((a), (b), (i) & 
> 1, \
>                                                         (((i) & 2) >> 
> 1) + 2))
> 
> Should be
> 
> 
> #define _mm_shuffle_pd(a, b, i) (__builtin_shufflevector((__m128d)(a), 
> (__m128d)(b), (i) & 1, \
>                                                         (((i) & 2) >> 
> 1) + 2))
> 
> 
> ?
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list