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