Add F_floating (addf)

Syntax

addf $s_reg1, $s_reg2, $d_reg

addf $d_reg/$s_reg1, $s_reg2

Description

Add F_floating adds the contents of $s_reg1 or $d_reg to the contents of $s_reg2 and places the result in $d_reg. When the sum of two operands is exactly 0, the sum has a positive sign for all rounding modes except round toward minus infinity (-¥). For that rounding mode, the sum has a negative sign.

Qualifiers

The following table describes the qualifiers for the addf instructions:

Instruction Qualifier Description
no qualifier VAX Rounding Mode: Normal rounding
  VAX Trap Mode: Imprecise, underflow disabled
addfc VAX Rounding Mode: Chopped
addfu VAX Trap Mode: Imprecise, underflow enabled
addfuc Combined meanings of addfc and addfu
addfs VAX Trap Mode: Software, underflow disabled
addfsc Combined meanings of addfs and addfc
addfsu VAX Trap Mode: Software, underflow enabled
addfsuc Combined meanings of addfs and addfuc