uaddc (sm5 - asm)
Unsigned integer add with carry.
| uaddc dest0[.mask], dest1[.mask], src0[.swizzle], src1[.swizzle] |
|---|
| Item | Description |
|---|---|
|
dest0 |
[in] Address of the result. |
|
dest1 |
[in] 1 if carry is produced. Otherwise 0. |
|
src0 |
[in] 32-bit operand to be added. |
|
src1 |
[in] 32-bit operand to be added. |
Remarks
dest1 can be NULL if the carry is not needed.
Use this instruction for high precision arithmetic.
This instruction applies to the following shader stages:
| Vertex | Hull | Domain | Geometry | Pixel | Compute |
|---|---|---|---|---|---|
| X | X | X | X | X | X |
Minimum Shader Model
This instruction is supported in the following shader models:
| Shader Model | Supported |
|---|---|
| Shader Model 5 | yes |
| Shader Model 4.1 | no |
| Shader Model 4 | no |
| Shader Model 3 (DirectX HLSL) | no |
| Shader Model 2 (DirectX HLSL) | no |
| Shader Model 1 (DirectX HLSL) | no |
Send comments about this topic to Microsoft
Build date: 3/5/2013
