Pull in r209489 from upstream clang trunk (by Akira Hatanaka):
Fix a bug in xmmintrin.h. The last step of _mm_cvtps_pi16 should use _mm_packs_pi32, which is a function that reads two __m64 values and packs four 32-bit values into four 16-bit values. <rdar://problem/16873717> MFC after: 3 days
This commit is contained in:
parent
1e17cf74b6
commit
b742fcdab0
@ -903,7 +903,7 @@ _mm_cvtps_pi16(__m128 __a)
|
||||
__a = _mm_movehl_ps(__a, __a);
|
||||
__c = _mm_cvtps_pi32(__a);
|
||||
|
||||
return _mm_packs_pi16(__b, __c);
|
||||
return _mm_packs_pi32(__b, __c);
|
||||
}
|
||||
|
||||
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
|
||||
|
Loading…
Reference in New Issue
Block a user