_mm256_movm_epi8
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512BW
Header File
Instruction
VPMOVM2B ymm
Synopsis
_mm256_movm_epi8(__mmask32 k);
Description
Set each packed 8-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*8
IF k[j]
dst[i+7:i] := 0xFF
ELSE
dst[i+7:i] := 0
FI
ENDFOR
dst[MAX:256] := 0