Developer Guide and Reference

Contents

Logical Intrinsics

Intel® Streaming SIMD Extensions 2 (Intel® SSE2) intrinsics for integer logical operations are listed in this topic. The prototypes for Intel® SSE2 intrinsics are in the
emmintrin.h
header file.
To use these intrinsics, include the
immintrin.h
file as follows:
#include <immintrin.h>
The results of each intrinsic operation are placed in register
R
. The information about what is placed in each register appears in the tables below, in the detailed explanation of each intrinsic.
Intrinsic Name
Operation
Corresponding
Intel® SSE2 Instruction
_mm_and_si128
Computes AND
PAND
_mm_andnot_si128
Computes AND and NOT
PANDN
_mm_or_si128
Computes OR
POR
_mm_xor_si128
Computes XOR
PXOR

_mm_and_si128