Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Return Value
The selector imm must be an immediate.
r0 := (imm == 0) ? b : a0;
r1 := (imm == 1) ? b : a1;
...
r7 := (imm == 7) ? b : a7;
Requirements
Header: emmintrin.h
END Microsoft Specific