r234560 - _mm256_blend_epi16 is being cast to __m256d instead of __m256i. Fixing this.
Ekaterina Romanova
katya_romanova at playstation.sony.com
Thu Apr 9 19:39:45 PDT 2015
Author: kromanova
Date: Thu Apr 9 21:39:45 2015
New Revision: 234560
URL: http://llvm.org/viewvc/llvm-project?rev=234560&view=rev
Log:
_mm256_blend_epi16 is being cast to __m256d instead of __m256i. Fixing this.
Modified:
cfe/trunk/lib/Headers/avx2intrin.h
Modified: cfe/trunk/lib/Headers/avx2intrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/avx2intrin.h?rev=234560&r1=234559&r2=234560&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/avx2intrin.h (original)
+++ cfe/trunk/lib/Headers/avx2intrin.h Thu Apr 9 21:39:45 2015
@@ -160,7 +160,7 @@ _mm256_blendv_epi8(__m256i __V1, __m256i
#define _mm256_blend_epi16(V1, V2, M) __extension__ ({ \
__m256i __V1 = (V1); \
__m256i __V2 = (V2); \
- (__m256d)__builtin_shufflevector((__v16hi)__V1, (__v16hi)__V2, \
+ (__m256i)__builtin_shufflevector((__v16hi)__V1, (__v16hi)__V2, \
(((M) & 0x01) ? 16 : 0), \
(((M) & 0x02) ? 17 : 1), \
(((M) & 0x04) ? 18 : 2), \
More information about the cfe-commits
mailing list