_mm256_insert_epi16
Classification
Header File
Synopsis
_mm256_insert_epi16(__m256i a, __int16 i, const int index);
Description
Copy "a" to "dst", and insert the 16-bit integer "i" into "dst" at the location specified by "index".
Operation
dst[255:0] := a[255:0]
sel := index[3:0]*16
dst[sel+15:sel] := i[15:0]