Developer Guide and Reference

Contents

Packed Compare Intrinsics

These Intel® Streaming SIMD Extensions (Intel® SSE4) intrinsics perform packed comparisons. Some of these intrinsics could map to more than one instruction; the Intel® C++ Compiler selects the instruction to generate.
To use these intrinsics, include the
immintrin.h
file as follows:
#include <immintrin.h>
Intrinsic Name
Operation
Corresponding
Intel® SSE4 Instruction
_mm_cmpestri
Packed comparison, generates index
PCMPESTRI
_mm_cmpestrm
Packed comparison, generates mask
PCMPESTRM
_mm_cmpistri
Packed comparison, generates index
PCMPISTRI
_mm_cmpistrm
Packed comparison, generates mask
PCMPISTRM
_mm_cmpestrz
Packed comparison
PCMPESTRM
or
PCMPESTRI