Compaq ECQD2KCTE manual Ieee Floating Subtract, Subs

Models: ECQD2KCTE

1 371
Download 371 pages 20.35 Kb
Page 187
Image 187

4.10.25 IEEE Floating Subtract

Format:

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

Operation:

Fc Fav - Fbv

Exceptions:

Invalid Operation

Overflow

Underflow

Inexact Result

Instruction mnemonics:

SUBS

Subtract S_floating

SUBT

Subtract T_floating

Qualifiers:

Rounding:

Dynamic (/D)

 

Minus infinity (/M)

 

Chopped (/C)

Trapping:

Exception Completion (/S)

 

Underflow Enable (/U)

 

Inexact Enable (/I)

Description:

The subtrahend operand in register Fb is subtracted from the minuend operand in register Fa and the difference is written to register Fc.

The difference 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 produces 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–131

Page 187
Image 187
Compaq ECQD2KCTE manual Ieee Floating Subtract, Subs