_mm256_mask_broadcast_f64x2
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512DQ
Header File
Instruction
VBROADCASTF64X2 ymm {k}, m128
Synopsis
_mm256_mask_broadcast_f64x2(__m256d src, __mmask8 k, __m128d a);
Description
Broadcast the 2 packed double-precision (64-bit) floating-point elements from "a" to all elements of "dst" using writemask "k" (elements are copied from "src" when the corresponding mask bit is not set).
Operation
FOR j := 0 to 3
i := j*64
n := (j % 2)*64
IF k[j]
dst[i+63:i] := a[n+63:n]
ELSE
dst[i+63:i] := src[i+63:i]
FI
ENDFOR
dst[MAX:256] := 0