MMX(TM) Technology Logical Intrinsics

The prototypes for MMX(TM) technology intrinsics are in the mmintrin.h header file.

Intrinsic
Name
Alternate
Name
Operation Corresponding
Instruction
_m_pand _mm_and_si64 Bitwise AND PAND
_m_pandn _mm_andnot_si64 Logical NOT PANDN
_m_por _mm_or_si64 Bitwise OR POR
_m_pxor _mm_xor_si64 Bitwise Exclusive OR PXOR

__m64 _m_pand(__m64 m1, __m64 m2)

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

__m64 _m_pandn(__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 _m_por(__m64 m1, __m64 m2)

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

__m64 _m_pxor(__m64 m1, __m64 m2)

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