Developer Guide and Reference

Contents

Miscellaneous Intrinsics

Intel® Streaming SIMD Extensions 2 (Intel® SSE2) intrinsics for miscellaneous operations are listed in the following table followed by descriptions.
The prototypes for Intel® SSE2 intrinsics are in the
emmintrin.h
header file.
To use these intrinsics, include the
immintrin.h
file as follows:
#include <immintrin.h>
Intrinsic
Operation
Corresponding Intel® SSE 2 Instruction
_mm_packs_epi16
Packed Saturation
PACKSSWB
_mm_packs_epi32
Packed Saturation
PACKSSDW
_mm_packus_epi16
Packed Saturation
PACKUSWB
_mm_extract_epi16
Extraction
PEXTRW
_mm_insert_epi16
Insertion