MMX(TM) Technology Logical Intrinsics

Intrinsic Name Operation Corresponding Instruction

_mm_and_si64

Bitwise AND

PAND

_mm_andnot_si64

Logical NOT

PANDN

_mm_or_si64

Bitwise OR

POR

_mm_xor_si64

Bitwise Exclusive OR

PXOR

__m64 _mm_and_si64 (__m64 m1, __m64 m2)

Perform a bitwise AND of the 64-bit value in m1 with the 64-bit value in m2.

 

__m64 _mm_andnot_si64 (__m64 m1, __m64 m2)

Perform a logical NOT on the 64-bit value in m1 and use the result in a bitwise AND with the 64-bit value in m2.

 

__m64 _mm_or_si64 (__m64 m1, __m64 m2)

Perform a bitwise OR of the 64-bit value in m1 with the 64-bit value in m2.

 

__m64 _mm_xor_si64 (__m64 m1, __m64 m2)

Perform a bitwise XOR of the 64-bit value in m1 with the 64-bit value in m2.