Partager via


MMX Technology Compare Intrinsics

Microsoft Specific

The intrinsics listed in the following table are followed by a description of each intrinsic.

MMX intrinsics use the __m64 data type, which is not supported on x64 processors.

The header file mmintrin.h contains the declarations for the MMX intrinsics.

Compare Intrinsics

Intrinsic name

Comparison

Number of elements

Element bit size

Corresponding instruction

_mm_cmpeq_pi8

Equals

8

8

PCMPEQB

_mm_cmpeq_pi16

Equals

4

16

PCMPEQW

_mm_cmpeq_pi32

Equals

2

32

PCMPEQD

_mm_cmpgt_pi8

Greater than

8

8

PCMPGTB

_mm_cmpgt_pi16

Greater than

4

16

PCMPGTW

_mm_cmpgt_pi32

Greater than

2

32

PCMPGTD

See Also

Reference

MMX Technology Intrinsic Groups