Syntax
cvtgd $s_reg, $d_reg
cvtgd $d_reg/$s_reg
Description
Convert G_floating to D_floating converts the G_floating contents of $s_reg to the D_floating precision, rounds according to the rounding mode, and places the result in $d_reg. If an overflow occurs, an unpredictable value is stored in $d_reg and a floating-point trap occurs.
Qualifiers
The following table describes the qualifiers for the cvtgd instructions:
Instruction | Qualifier description |
no qualifier | VAX Rounding Mode: Normal rounding |
VAX Trap Mode: Imprecise, underflow disabled | |
cvtgdc | VAX Rounding Mode: Chopped |
cvtgdu | VAX Trap Mode: Imprecise, underflow enabled |
cvtgduc | Combined meanings of cvtgdc and cvtgdu |
cvtgds | VAX Trap Mode: Software, underflow disabled |
VAX Convert-to-Integer Trap Mode: Software, integer overflow disabled | |
cvtgdsc | Combined meanings of cvtgds and cvtgdc |
cvtgdsu | VAX Trap Mode: Software, underflow enabled |
cvtgdsuc | Combined meanings of cvtgds and cvtgduc |