_mm512_movepi8_mask
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512BW
Header File
immintrin.h
Instruction
VPMOVB2M k, zmm
Synopsis
 _mm512_movepi8_mask(__m512i a);
Description
Set each bit of mask register "k" based on the most significant bit of the corresponding packed 8-bit integer in "a".
Operation
FOR j := 0 to 63
	i := j*8
	IF a[i+7]
		k[j] := 1
	ELSE
		k[j] := 0
	FI
ENDFOR
k[MAX:64] := 0