4.10.6 IEEE Floating Add

Format:

ADDxFa.rx,Fb.rx,Fc.wx!Floating-point Operate format

Operation:

Fc Fav + Fbv

Exceptions:

Invalid Operation

Overflow

Underflow

Inexact Result

Instruction mnemonics:

ADDS

Add S_floating

ADDT

Add T_floating

Qualifiers:

Rounding:

Dynamic (/D)

 

Minus infinity (/M)

 

Chopped (/C)

Trapping:

Exception Completion (/S)

 

Underflow Enable (/U)

 

Inexact Enable (/I)

Description:

Register Fa is added to register Fb, and the sum is written to register Fc.

The sum is rounded to the specified precision and then the corresponding range is checked for overflow/underflow. The single-precision operation on canonical single-precision values pro- duces a canonical single-precision result.

See Section 4.7.7 for details of the stored result on overflow, underflow, or inexact result.

Instruction Descriptions 4–111

Page 167
Image 167
Compaq ECQD2KCTE manual Ieee Floating Add, Adds