Export (0) Print
Expand All

_mm_insert_epi16

Microsoft Specific

Inserts the least significant 16 bits of b into the selected 16-bit integer of a

__m128i _mm_insert_epi16 (__m128i a, int b, int imm);
PINSRW

The selector imm must be an immediate.

r0 := (imm == 0) ? b : a0;
r1 := (imm == 1) ? b : a1;
...
r7 := (imm == 7) ? b : a7;

Header: emmintrin.h

END Microsoft Specific

Community Additions

ADD
Show:
© 2014 Microsoft