Developer Guide and Reference

Contents

Compare Intrinsics (MMX™ technology)

This topic summarizes the MMX™ technology compare intrinsics.
To use these intrinsics, include the
immintrin.h
file as follows:
#include <immintrin.h>
Intrinsic
Name
Operation
Corresponding
MMX™ Instruction
_mm_cmpeq_pi8
Equal
PCMPEQB
_mm_cmpeq_pi16
Equal
PCMPEQW
_mm_cmpeq_pi32
Equal
PCMPEQD
_mm_cmpgt_pi8
Greater Than
PCMPGTB
_mm_cmpgt_pi16
Greater Than
PCMPGTW
_mm_cmpgt_pi32
Greater Than
PCMPGTD

_mm_ cmpeq_pi8