Developer Guide and Reference

Contents

Logical Intrinsics (MMX™ technology)

This topic summarizes the MMX™ technology logical intrinsics.
To use these intrinsics, include the
immintrin.h
file as follows:
#include <immintrin.h>
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 res