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
See Section 4.7.7 for details of the stored result on overflow, underflow, or inexact result.
Instruction Descriptions