Syntax
cvtgf $s_reg, $d_reg
cvtgf $d_reg/$s_reg
Description
Convert G_floating to F_floating converts the G_floating contents of $s_reg to the F_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 cvtgf instructions:
Instruction | Qualifier description |
no qualifier | VAX Rounding Mode: Normal rounding |
VAX Trap Mode: Imprecise, underflow disabled | |
cvtgfc | VAX Rounding Mode: Chopped |
cvtgfu | VAX Trap Mode: Imprecise, underflow enabled |
cvtgfuc | Combined meanings of cvtgfc and cvtgfu |
cvtgfs | VAX Trap Mode: Software, underflow disabled |
VAX Convert-to-Integer Trap Mode: Software, integer overflow disabled | |
cvtgfsc | Combined meanings of cvtgfs and cvtgfc |
cvtgfsu | VAX Trap Mode: Software, underflow enabled |
cvtgfsuc | Combined meanings of cvtgfs and cvtgfuc |