core::arch::x86_64

Function _mulx_u64

1.27.0 · source
pub unsafe fn _mulx_u64(a: u64, b: u64, hi: &mut u64) -> u64
Available on x86-64 and target feature bmi2 only.
Expand description

Unsigned multiply without affecting flags.

Unsigned multiplication of a with b returning a pair (lo, hi) with the low half and the high half of the result.

Intel’s documentation