xvcvbf16spn
VSX Vector Convert bfloat16 to Single-Precision format Non-signaling
Converts a vector of bfloat16 values to single-precision floating-point format.
Details
The xvcvbf16spn instruction converts each element of the source vector VSR[XB] from bfloat16 format to single-precision floating-point format and stores the result in the target vector VSR[XT].
Pseudocode Operation
Programming Note
This instruction is used to convert bfloat16 values in a vector to single-precision floating-point format. Ensure that the VSX (Vector Scalar Extensions) are enabled by checking and setting the MSR.VSX bit. The operation processes four elements per iteration, converting the high 16 bits of each source element to the corresponding target element while zeroing out the lower 16 bits. This instruction does not raise exceptions for invalid operations.
Example
Encoding
Operands
-
XT
Target Vector Register -
XB
Source Vector Register