vcfux
Vector Convert from Unsigned Fixed-Point Word
Converts 4 unsigned 32-bit integers to floats.
Details
The vcfux instruction converts a vector of signed floating-point values to unsigned fixed-point integers, rounding towards zero. Each element is multiplied by 2 raised to the power of UIM and then converted to an unsigned integer. If the result exceeds 2^32 - 1, it saturates to that value.
Pseudocode Operation
Programming Note
The vcfux instruction is used for converting signed floating-point values to unsigned fixed-point integers. Ensure that the Vector Facility (MSR.VEC) is enabled before using this instruction; otherwise, a Vector_Unavailable exception will be raised. Be cautious of saturation when results exceed 2^32 - 1.
Example
Encoding
Operands
-
vD
Target -
vB
Source -
UIM
Fraction bits