_mm512_movm_epi16
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512BW
Header File
Instruction
VPMOVM2W zmm
Synopsis
_mm512_movm_epi16(__mmask32 k);
Description
Set each packed 16-bit integer in "dst" to all ones or all zeros based on the value of the corresponding bit in "k".
Operation
FOR j := 0 to 31
i := j*16
IF k[j]
dst[i+15:i] := 0xFFFF
ELSE
dst[i+15:i] := 0
FI
ENDFOR
dst[MAX:512] := 0