xscvudqp
VSX Scalar Convert Unsigned Doubleword to Quad-Precision
Converts 64-bit Unsigned Integer to 128-bit Float.
Details
Converts an unsigned 64-bit doubleword value from the source VSR into a 128-bit IEEE 754 quadruple-precision (quad) floating-point value and stores the result in the target VSR. This VSX scalar operation uses the default rounding mode from FPSCR and updates the floating-point status and control register (FPSCR) with exception flags if applicable. The instruction requires VSX facility enablement.
Pseudocode Operation
FRT ← ConvertUnsignedIntegerToQuadPrecision(FRB[0:63], FPSCR[RN])
FPSCR ← UpdateFlags(FPSCR)
Programming Note
This instruction is used to convert an unsigned doubleword integer into a quad-precision floating-point format. Ensure that the VSX (Vector Scalar Extensions) are enabled by checking and setting the MSR.VSX bit. The conversion may alter the FPSCR register fields, so be aware of potential precision flags. This operation does not raise exceptions for normal input ranges.
Example
Encoding
Operands
-
vD
Target -
vB
Source