Compartir a través de


_mm_extract_epi16

Microsoft Specific

Extracts the selected signed or unsigned 16-bit integer from a and zero extends.

int _mm_extract_epi16 (__m128i a, int imm);
PEXTRW

Return Value

The selector imm must be an immediate.

r := (imm == 0) ? a0 :
( (imm == 1) ? a1 :
...
(imm == 7) ? a7 )

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Concepts

Miscellaneous Operations (Integer SSE2 Intrinsics)