Compaq ECQD2KCTE Laptop User Manual


 
4–114 Alpha Architecture Handbook
4.10.9 Convert VAX Floating to Integer
Format:
Operation:
Fc {conversion of Fbv}
Exceptions:
Instruction mnemonics:
Qualifiers:
Description:
The floating operand in register Fb is converted to a two’s-complement quadword number and
written to register Fc. The conversion aligns the operand fraction with the binary point just to
the right of bit zero, rounds as specified, and complements the result if negative. Register Fa
must be F31.
An invalid operation trap is signaled if the operand has exp=0 and is not a true zero (that is,
VAX reserved operands and dirty zeros trap). The contents of Fc are UNPREDICTABLE if
this occurs.
See Section 4.7.7 for details of the stored result on integer overflow.
CVTGQ Fb.rx,Fc.wq
!Floating-point Operate format
Invalid Operation
Integer Overflow
CVTGQ Convert G_floating to Quadword
Rounding: Chopped (/C)
Trapping: Exception Completion (/S)
Integer Overflow Enable (/V)