Function safe_arch::mul_extended_u64

source ยท
pub fn mul_extended_u64(a: u64, b: u64, extra: &mut u64) -> u64
Available with target feature bmi2 only.
Expand description

Multiply two u64, outputting the low bits and storing the high bits in the reference.

This does not read or write arithmetic flags.

  • Intrinsic: _mulx_u64
  • Assembly: mulx r64, r64, m64