fcvt.d.lu
Convert double from unsigned 64 bit integer
Converts the unsigned 64-bit integer in the second register to double precision and stores it in the first.
Forms
fcvt.d.lu , ,
Pseudo-instructions
The processor does not have these forms. The assembler replaces each of them with one or more real instructions. Open a row to see them.
Operands
f1- Any floating-point register,
f0tof31, or its named alias, such asft0,fa0orft11. t1- Any integer register,
x0tox31, or its named alias, such aszero,t0ort6. rm- A rounding mode:
rne(nearest, ties to even),rtz(toward zero),rdn(toward negative infinity),rup(toward positive infinity),rmm(nearest, ties away from zero) ordyn(use the rounding mode infcsr).
This example runs on RV64.
# Convert the value 6 from lu to d; f2 (ft2) holds 6.0.
.text
li t0, 6
fcvt.d.lu f2, t0