_mm_unpackhi_epi16
Classification
SSE_ALL, Swizzle, CPUID Test: SSE2
Header File
emmintrin.h
Instruction
PUNPCKHWD xmm, xmm
Synopsis
 _mm_unpackhi_epi16(__m128i a, __m128i b);
Description
Unpack and interleave 16-bit integers from the high half of "a" and "b", and store the results in "dst".
Operation
DEFINE INTERLEAVE_HIGH_WORDS(src1[127:0], src2[127:0]) {
	dst[15:0] := src1[79:64]
	dst[31:16] := src2[79:64] 
	dst[47:32] := src1[95:80] 
	dst[63:48] := src2[95:80] 
	dst[79:64] := src1[111:96] 
	dst[95:80] := src2[111:96] 
	dst[111:96] := src1[127:112] 
	dst[127:112] := src2[127:112] 
	RETURN dst[127:0]
}
dst[127:0] := INTERLEAVE_HIGH_WORDS(a[127:0], b[127:0])