_mm256_mask_blend_ps
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512F
Header File
Instruction
VBLENDMPS ymm {k}, ymm, ymm
Synopsis
_mm256_mask_blend_ps(__mmask8 k, __m256 a, __m256 b);
Description
Blend packed single-precision (32-bit) floating-point elements from "a" and "b" using control mask "k", and store the results in "dst".
Operation
FOR j := 0 to 7
i := j*32
IF k[j]
dst[i+31:i] := b[i+31:i]
ELSE
dst[i+31:i] := a[i+31:i]
FI
ENDFOR
dst[MAX:256] := 0