fmv.w.x

Move integer bits to FP register Pseudo-instruction

Copies the raw low 32 bits of the second register into the first without converting them.

Also written as: fmv.s.x

RISC-V manual: fmv.s.x

Forms

Operands

f1
Any floating-point register, f0 to f31, or its named alias, such as ft0, fa0 or ft11.
t1
Any integer register, x0 to x31, or its named alias, such as zero, t0 or t6.
# The source bits encode single 1.0; fmv.w.x leaves the same 1.0 bits in the destination.
.text
li t0, 1065353216
fmv.w.x f1, t0