Export (0) Print
Expand All
Expand Minimize

uaddc (sm5 - asm)

Unsigned integer add with carry.

uaddc dest0[.mask], dest1[.mask], src0[.swizzle], src1[.swizzle]

 

ItemDescription

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:

VertexHullDomainGeometryPixelCompute
XX X XXX

 

Minimum Shader Model

This instruction is supported in the following shader models:

Shader ModelSupported
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

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft