_mm_shufflelo_epi16
Classification
SSE_ALL, Swizzle, CPUID Test: SSE2
Header File
emmintrin.h
Instruction
PSHUFLW xmm, xmm, imm8
Synopsis
 _mm_shufflelo_epi16(__m128i a, int imm8);
Description
Shuffle 16-bit integers in the low 64 bits of "a" using the control in "imm8". Store the results in the low 64 bits of "dst", with the high 64 bits being copied from from "a" to "dst".
Operation
dst[15:0] := (a >> (imm8[1:0] * 16))[15:0]
dst[31:16] := (a >> (imm8[3:2] * 16))[15:0]
dst[47:32] := (a >> (imm8[5:4] * 16))[15:0]
dst[63:48] := (a >> (imm8[7:6] * 16))[15:0]
dst[127:64] := a[127:64]