Intel® C++ Compiler 16.0 User and Reference Guide

MMX™ Technology Logical Intrinsics

The prototypes for MMX™ technology logical intrinsics are in the mmintrin.h header file.

Intrinsic Name

Operation

Corresponding
MMX™ Instruction

_mm_and_si64

Bitwise AND

PAND

_mm_andnot_si64

Bitwise ANDNOT

PANDN

_mm_or_si64

Bitwise OR

POR

_mm_xor_si64

Bitwise Exclusive OR

PXOR

_mm_and_si64

__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.

_mm_andnot_si64

__m64 _mm_andnot_si64(__m64 m1, __m64 m2);

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

_mm_or_si64

__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.

_mm_xor_si64

__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.