_mm_xor_ps does a xor not a nxor. The other 'xor' builtins look fine,

but this one is wrong.  Thanks to Tanya for noticing this.

llvm-svn: 92881
This commit is contained in:
Chris Lattner 2010-01-07 00:36:41 +00:00
parent 6722fc0c09
commit 4debb32fdd
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ static inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_xor_ps(__m128 a, __m128 b)
{
typedef int __v4si __attribute__((__vector_size__(16)));
return (__m128)((__v4si)a ^ ~(__v4si)b);
return (__m128)((__v4si)a ^ (__v4si)b);
}
static inline __m128 __attribute__((__always_inline__, __nodebug__))