Share via


_mm_insert_pi16

Microsoft Specific

Inserts word d into one of four words of a.

__m64 _mm_insert_pi16(__m64 a , int d , int n );
PINSRW

Return Value

The selector n must be an immediate.

r0 := (n==0) ? d : a0;
r1 := (n==1) ? d : a1;
r2 := (n==2) ? d : a2;
r3 := (n==3) ? d : a3;

Requirements

Header: mmintrin.h

END Microsoft Specific

See Also

Reference

Integer Intrinsics Using Streaming SIMD Extensions