_mm_movm_epi16
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512BW
Header File
Instruction
VPMOVM2W xmm
Synopsis
_mm_movm_epi16(__mmask8 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 7
i := j*16
IF k[j]
dst[i+15:i] := 0xFFFF
ELSE
dst[i+15:i] := 0
FI
ENDFOR
dst[MAX:128] := 0