_mm256_movm_epi16
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512BW
Header File
immintrin.h
Instruction
VPMOVM2W ymm
Synopsis
 _mm256_movm_epi16(__mmask16 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 15
	i := j*16
	IF k[j]
		dst[i+15:i] := 0xFFFF
	ELSE
		dst[i+15:i] := 0
	FI
ENDFOR
dst[MAX:256] := 0