Function safe_arch::add_carry_u64
source ยท pub fn add_carry_u64(c_in: u8, a: u64, b: u64, out: &mut u64) -> u8
Available with target feature
adx
only.Expand description
Add two u64
with a carry value.
Writes the sum to the reference and returns the new carry flag.
- Intrinsic:
_addcarryx_u64
- Assembly:
adcx r64, r64
adox r64, r64