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