How is FMV.H.X different from FCVT?
FMV copies the bit pattern; FCVT performs numeric conversion, can round, and can set exception flags.
Bit-copy low integer-register bits into a half-precision floating-point register.
FMV.H.X bit-copies the low 16 bits of x[rs1] into f[rd] as a half-precision floating-point encoding. The half result is stored in a wider FLEN register using NaN-boxing rules. This is a bit move, not a numeric conversion.
FMV.H.X's core idea is bit-pattern movement. Use FCVT for numeric conversion and rounding; use FMV forms when preserving NaN payloads or inspecting raw encodings.
Understand this scenario with real code like «fmv.h.x f0, x10 # f0 bits from x10[15:0]».
Understand this scenario with real code like «fmv.h.x f0, x10 # f0 bits from x10[15:0]».
FMV copies the bit pattern; FCVT performs numeric conversion, can round, and can set exception flags.
No. It is neither arithmetic nor numeric conversion.