xscvsqqp
VSX Scalar Convert with round Signed Quadword to Quad-Precision
Converts a signed quadword integer to a quad-precision floating-point number and rounds it.
Details
The instruction converts the 128-bit signed integer value in VSR[VRB+32] to an unbounded-precision floating-point value, rounds it to quad-precision using the rounding mode specified by RN, and places the result into VSR[VRT+32].
Pseudocode Operation
Programming Note
This instruction is used to convert a 128-bit signed integer to a quad-precision floating-point number with rounding. Ensure the VSX feature is enabled in the MSR register. Be cautious of the rounding mode specified by FPSCR.RN, as it affects the precision and result of the conversion. The instruction updates several special registers like FPSCR.FPRF, FPSCR.FR, and FPSCR.FI to reflect the operation's outcome.
Example
Encoding
Operands
-
VRT
Target Vector Register -
VRB
Source Vector Register