[cfe-commits] r146565 - /cfe/trunk/lib/Headers/smmintrin.h
Bob Wilson
bob.wilson at apple.com
Wed Dec 14 09:17:16 PST 2011
Author: bwilson
Date: Wed Dec 14 11:17:16 2011
New Revision: 146565
URL: http://llvm.org/viewvc/llvm-project?rev=146565&view=rev
Log:
Fix obvious error in _mm_test_all_zeros. PR11565.
Patch by Mathias Gaunard!
Modified:
cfe/trunk/lib/Headers/smmintrin.h
Modified: cfe/trunk/lib/Headers/smmintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/smmintrin.h?rev=146565&r1=146564&r2=146565&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/smmintrin.h (original)
+++ cfe/trunk/lib/Headers/smmintrin.h Wed Dec 14 11:17:16 2011
@@ -239,7 +239,7 @@
#define _mm_test_all_ones(V) _mm_testc_si128((V), _mm_cmpeq_epi32((V), (V)))
#define _mm_test_mix_ones_zeros(M, V) _mm_testnzc_si128((M), (V))
-#define _mm_test_all_zeros(M, V) _mm_testz_si128 ((V), (V))
+#define _mm_test_all_zeros(M, V) _mm_testz_si128 ((M), (V))
/* SSE4 64-bit Packed Integer Comparisons. */
static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
More information about the cfe-commits
mailing list