Syntax
divg $s_reg1, $s_reg2, $d_reg
divg $d_reg/$s_reg1, $s_reg2
Description
Divide G_floating computes the quotient of two values. These instructions divide the contents of $s_reg1 or $d_reg by the contents of $s_reg2 and place the result in $d_reg. If the divisor is 0, an error is signaled if the divide-by-zero exception is enabled.
Qualifiers
The following table describes the qualifiers for the divg instructions:
Instruction | Qualifier description |
no qualifier | VAX Rounding Mode: Normal rounding |
VAX Trap Mode: Imprecise, underflow disabled | |
divgc | VAX Rounding Mode: Chopped |
divgu | VAX Trap Mode: Imprecise, underflow enabled |
divguc | VAX Trap Mode: Underflow enabled |
VAX Rounding Mode: Chopped | |
divgs | VAX Trap Mode: Software, underflow disabled |
divgsc | Combined meanings of divgs and divgc |
divgsu | VAX Trap Mode: Software, underflow enabled |
divgsuc | Combined meanings of divgs, divgu, and divgc |