xscvspdp
Vector Scalar Convert Single-Precision to Double-Precision format Non-signalling
xscvspdp XT, XB
Converts a single-precision floating-point value in VSR[XB] to double-precision format and places the result into VSR[XT].
Encoding
Binary Layout
60
XT
0
XB
408
Operands
-
XT
Target -
XB
Source
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
Converts a single-precision floating-point value in the lower 32 bits of VSR[XB] to double-precision format and places the result in VSR[XT]. This is a scalar VSX instruction that operates on element 0 of the VSR. The instruction does not signal on NaN or other exceptional floating-point conditions.
Operation
VSR[XT].element[0] ← ConvertSP_to_DP(VSR[XB].element[0])
Programming Note
xscvspdp can be used to convert a single-precision value in single-precision format to double-precision format for use by Floating-Point scalar single-precision operations. Previous versions of the architecture allowed the contents of doubleword 1 of the result register to be undefined. However, all processors that support this instruction write 0s into doubleword 1 of the result register, as is required by this version of the architecture.