How is FMV.X.H different from FCVT?
FMV copies the bit pattern; FCVT performs numeric conversion, can round, and can set exception flags.
Bit-copy a half-precision floating-point encoding to an integer register.
FMV.X.H bit-copies the half-precision floating-point encoding in f[rs1] into x[rd]; bit 15 is copied into the upper bits of the integer register. This is a bit move, not a floating-point-to-integer numeric conversion; it does not round and sets no floating-point exception flags.
FMV.X.H'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.x.h x10, f0 # x10[15:0] = bits of f0».
Understand this scenario with real code like «fmv.x.h x10, f0 # x10[15:0] = bits of f0».
FMV copies the bit pattern; FCVT performs numeric conversion, can round, and can set exception flags.
No. It is neither arithmetic nor numeric conversion.