_mm_blendv_ps
Classification
SSE_ALL, Swizzle, CPUID Test: SSE4.1
Header File
Instruction
BLENDVPS xmm, xmm
Synopsis
_mm_blendv_ps(__m128 a, __m128 b, __m128 mask);
Description
Blend packed single-precision (32-bit) floating-point elements from "a" and "b" using "mask", and store the results in "dst".
Operation
FOR j := 0 to 3
i := j*32
IF mask[i+31]
dst[i+31:i] := b[i+31:i]
ELSE
dst[i+31:i] := a[i+31:i]
FI
ENDFOR