fmv.d.x
Move integer bits to FP register (double)
Copies the raw 64 bits of the second register into the first without converting them.
Forms
fmv.d.x ,
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.
This example runs on RV64.
# The source bits encode double 1.0; fmv.d.x leaves the same 1.0 bits in the destination.
.text
li t0, 4607182418800017408
fmv.d.x f1, t0