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