Add with Carry-In Arithmetic

Add two operands plus a carry-in from a previous add-with-carry-out, for extended-precision addition chains.

Vendor-Neutral Definition

d = a + b + carry_in (mod 2^width); optionally also produces its own carry-out for further chaining.
⚠️ Cross-vendor mappings describe semantic relationships and are not guaranteed one-to-one compiler translations.
equivalent with restrictions Both add two operands plus an incoming carry bit, for chaining extended-precision addition across multiple words.
Property NVIDIA PTX AMDGPU
Instruction addc v_addc_co_u32, s_addc_u32
ISA Layer Virtual Native
Data Types - u32
Version / Target Introduced PTX ISA 1.2 gfx1100

Important Differences

  • Same CC-register-vs-VCC/SCC convention difference as add-with-carry-out applies to where the carry-in is read from.

Source Evidence

Verification method: documentation