fcvt.s.h

Converts a single-precision number in floating-point register _fs1_ into a half-precision floating-point number in floating-point register _fd_. `fcvt.s.h` will never round, and so the 'rm' field is effectively ignored.

Synopsis

fcvt.s.h fd, fs1, rm

Encoding

Type:

067111214151920311010011fdrmfs1010000000010
funct7: 0100000
funct3: ---
opcode: 1010011

RISC-V Instruction Encoder/Decoder

open fcvt.s.h in rvcodecjs

Availability