Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual C++
C/C++ Languages
Compiler Intrinsics
MMX Technology

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.Net Framework 3.5

Other versions are also available for the following:
Visual C++ Language Reference
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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker