Miscellaneous Operations (Integer SSE2 Intrinsics)
Microsoft Specific
The intrinsics listed in the following table are followed by their descriptions.
SSE2 intrinsics use the __m128, __m128i, and __m128d data types, which are not supported on Itanium Processor Family (IPF) processors. Any SSE2 intrinsics that use the __m64 data type are not supported on x64 processors.
The emmintrin.h header file contains the declarations for the SSE2 instructions intrinsics.
Comparison Intrinsics
Intrinsic |
Corresponding instruction |
Operation |
---|---|---|
PACKSSWB |
Packed saturation |
|
PACKSSDW |
Packed saturation |
|
PACKUSWB |
Packed saturation |
|
PEXTRW |
Extraction |
|
PINSRW |
Insertion |
|
PMOVMSKB |
Mask creation |
|
PSHUFD |
Shuffle |
|
PSHUFHW |
Shuffle |
|
PSHUFLW |
Shuffle |
|
PUNPCKHBW |
Interleave |
|
PUNPCKHWD |
Interleave |
|
PUNPCKHDQ |
Interleave |
|
PUNPCKHQDQ |
Interleave |
|
PUNPCKLBW |
Interleave |
|
PUNPCKLWD |
Interleave |
|
PUNPCKLDQ |
Interleave |
|
PUNPCKLQDQ |
Interleave |
|
MOVDQ2Q |
Move |
|
MOVQ2DQ |
Move |
|
MOVQ |
Move |
For an explanation of the syntax used in code samples in this topic, see Floating-Point Intrinsics Using Streaming SIMD Extensions.