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