_mm256_blend_ps
Classification
Header File
Instruction
VBLENDPS ymm, ymm, ymm, imm8
Synopsis
_mm256_blend_ps(__m256 a, __m256 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 7
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:256] := 0