fcfidus.
Floating Convert with round Unsigned Doubleword to Single-Precision format
Converts an unsigned doubleword integer in a floating-point register to a single-precision floating-point number, rounding the result.
Details
The instruction converts the contents of the source floating-point register (FRB) from an unsigned doubleword integer to a single-precision floating-point number and stores it in the target floating-point register (FRT).
Pseudocode Operation
FRT <- ConvertToSinglePrecision(FRB, unsigned)
Programming Note
Use fcfidus. when converting unsigned 64-bit integers to single-precision floats. Ensure the source register contains a valid unsigned integer; otherwise, the result is undefined. This instruction operates at user privilege level and does not raise exceptions for invalid input values.
Example
Encoding
Operands
-
FRT
Target Floating Point Register -
FRB
Source Floating Point Register