_mm_unpacklo_pi8
Classification
MMX, Swizzle, CPUID Test: MMX
Header File
Instruction
PUNPCKLBW mm, mm
Synopsis
_mm_unpacklo_pi8(__m64 a, __m64 b);
Description
Unpack and interleave 8-bit integers from the low half of "a" and "b", and store the results in "dst".
Operation
DEFINE INTERLEAVE_BYTES(src1[63:0], src2[63:0]) {
dst[7:0] := src1[7:0]
dst[15:8] := src2[7:0]
dst[23:16] := src1[15:8]
dst[31:24] := src2[15:8]
dst[39:32] := src1[23:16]
dst[47:40] := src2[23:16]
dst[55:48] := src1[31:24]
dst[63:56] := src2[31:24]
RETURN dst[63:0]
}
dst[63:0] := INTERLEAVE_BYTES(a[63:0], b[63:0])