_mm512_mask_cmpeq_epi64_mask
Classification
AVX-512, Compare, CPUID Test: AVX512F
Header File
immintrin.h
Instruction
VPCMPEQQ k {k}, zmm, zmm
Synopsis
 _mm512_mask_cmpeq_epi64_mask(__mmask8 k1, __m512i a, __m512i b);
Description
Compare packed 64-bit integers in "a" and "b" for equality, and store the results in mask vector "k" using zeromask "k1" (elements are zeroed out when the corresponding mask bit is not set).
Operation
FOR j := 0 to 7
	i := j*64
	IF k1[j]
		k[j] := ( a[i+63:i] == b[i+63:i] ) ? 1 : 0
	ELSE 
		k[j] := 0
	FI
ENDFOR
k[MAX:8] := 0