_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:
		
							parent
							
								
									6722fc0c09
								
							
						
					
					
						commit
						4debb32fdd
					
				| 
						 | 
				
			
			@ -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__))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue