_mm_madd52hi_epu64
Classification
AVX-512, Arithmetic, CPUID Test: AVX512IFMA52
Header File
immintrin.h
Instruction
VPMADD52HUQ xmm, xmm, xmm
Synopsis
 _mm_madd52hi_epu64(__m128i a, __m128i b, __m128i c);
Description
Multiply packed unsigned 52-bit integers in each 64-bit element of "b" and "c" to form a 104-bit intermediate result. Add the high 52-bit unsigned integer from the intermediate result with the corresponding unsigned 64-bit integer in "a", and store the results in "dst".
Operation
FOR j := 0 to 1
	i := j*64
	tmp[127:0] := ZeroExtend64(b[i+51:i]) * ZeroExtend64(c[i+51:i])
	dst[i+63:i] := a[i+63:i] + ZeroExtend64(tmp[103:52])
ENDFOR
dst[MAX:128] := 0