_mm512_test_epi8_mask
Classification
AVX-512, Compare, CPUID Test: AVX512BW
Header File
immintrin.h
Instruction
VPTESTMB k, zmm, zmm
Synopsis
 _mm512_test_epi8_mask(__m512i a, __m512i b);
Description
Compute the bitwise AND of packed 8-bit integers in "a" and "b", producing intermediate 8-bit values, and set the corresponding bit in result mask "k" if the intermediate value is non-zero.
Operation
FOR j := 0 to 63
	i := j*8
	k[j] := ((a[i+7:i] AND b[i+7:i]) != 0) ? 1 : 0
ENDFOR
k[MAX:64] := 0