fmv.x.h

Moves the half-precision value in floating-point register fs1 represented in IEEE 754-2008 encoding to the lower 16 bits of integer register xd. The bits are not modified in the transfer, and in particular, the payloads of non-canonical NaNs are preserved. The highest XLEN-16 bits of the destination register are filled with copies of the floating-point number's sign bit.

Synopsis

fmv.x.h xd, fs1

Encoding

Type:

067111214151920311010011xd000fs1111001000000
funct7: 1110010
funct3: 000
opcode: 1010011

RISC-V Instruction Encoder/Decoder

open fmv.x.h in rvcodecjs

Availability