_mm512_maskz_broadcast_i32x4
Classification
AVX-512, Swizzle, CPUID Test: AVX512F
Header File
Instruction
VBROADCASTI32X4 zmm {z}, m128
Synopsis
_mm512_maskz_broadcast_i32x4(__mmask16 k, __m128i a);
Description
Broadcast the 4 packed 32-bit integers from "a" to all elements of "dst" using zeromask "k" (elements are zeroed out when the corresponding mask bit is not set).
Operation
FOR j := 0 to 15
i := j*32
n := (j % 4)*32
IF k[j]
dst[i+31:i] := a[n+31:n]
ELSE
dst[i+31:i] := 0
FI
ENDFOR
dst[MAX:512] := 0