dcffixqq
Double-Precision Floating-Point Fix to Quadword
Converts a double-precision floating-point value to a quadword integer.
Details
The dcffixqq instruction converts the double-precision floating-point value in register RA to a quadword integer and stores it in register RT. The result is rounded towards zero.
Pseudocode Operation
RT <- (RA) rounded towards zero
Programming Note
The dcffixqq instruction is commonly used for converting double-precision floating-point numbers to integers, rounding towards zero. Ensure that the input value in RA is within the range representable by a quadword integer to avoid overflow or underflow exceptions. This instruction operates at user privilege level and does not require any specific ordering or alignment of registers.
Example
Encoding
Operands
-
RT
Target General Purpose Register -
RA
Source General Purpose Register