_mm_conflict_epi64
Classification
AVX-512, Compare, CPUID Test: AVX512CD
Header File
immintrin.h
Instruction
VPCONFLICTQ xmm, xmm
Synopsis
 _mm_conflict_epi64(__m128i a);
Description
Test each 64-bit element of "a" for equality with all other elements in "a" closer to the least significant bit. Each element's comparison forms a zero extended bit vector in "dst".
Operation
FOR j := 0 to 1
	i := j*64
	FOR k := 0 to j-1
		m := k*64
		dst[i+k] := (a[i+63:i] == a[m+63:m]) ? 1 : 0
	ENDFOR
	dst[i+63:i+j] := 0
ENDFOR
dst[MAX:128] := 0