_mm_blend_epi32
Classification
Header File
Instruction
VPBLENDD xmm, xmm, xmm, imm8
Synopsis
_mm_blend_epi32(__m128i a, __m128i b, const int imm8);
Description
Blend packed 32-bit integers from "a" and "b" using control mask "imm8", and store the results in "dst".
Operation
FOR j := 0 to 3
i := j*32
IF imm8[j]
dst[i+31:i] := b[i+31:i]
ELSE
dst[i+31:i] := a[i+31:i]
FI
ENDFOR
dst[MAX:128] := 0