_mm_blend_ps
Classification
SSE_ALL, Swizzle, CPUID Test: SSE4.1
Header File
Instruction
BLENDPS xmm, xmm, imm8
Synopsis
_mm_blend_ps(__m128 a, __m128 b, const int imm8);
Description
Blend packed single-precision (32-bit) floating-point elements 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