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

joel falcou joel.falcou at lri.fr
Sat May 15 07:12:40 PDT 2010


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))


?



More information about the cfe-dev mailing list