fmv.s.x

Move integer bits to single FP (old name)

Copies the raw low 32 bits of the second register into the first without converting them, as the older name of fmv.w.x.

RISC-V manual: fmv.s.x

Forms

  • fmv.s.x ,

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.s.x leaves the same 1.0 bits in the destination.
.text
li t0, 1065353216
fmv.s.x f1, t0