_mulx_u64
Classification
Other, Arithmetic, CPUID Test: BMI2
Header File
Instruction
MULX r64, r64, m64
Synopsis
_mulx_u64(unsigned __int64 a, unsigned __int64 b, unsigned __int64* hi);
Description
Multiply unsigned 64-bit integers "a" and "b", store the low 64-bits of the result in "dst", and store the high 64-bits in "hi". This does not read or write arithmetic flags.
Operation
dst[63:0] := (a * b)[63:0]
MEM[hi+63:hi] := (a * b)[127:64]