_mm512_mask_broadcast_i32x8
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512DQ
Header File
Instruction
VBROADCASTI32X8 zmm {k}, m256
Synopsis
_mm512_mask_broadcast_i32x8(__m512i src, __mmask16 k, __m256i a);
Description
Broadcast the 8 packed 32-bit integers 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 15
i := j*32
n := (j % 8)*32
IF k[j]
dst[i+31:i] := a[n+31:n]
ELSE
dst[i+31:i] := src[i+31:i]
FI
ENDFOR
dst[MAX:512] := 0