RISC-V ISA Explorer · Float & Numerics (Zf*)

Zfhmin: Minimal Half-Precision FP

Ratified 2021-11 · version 1.0.0

Half-precision load, store, and conversion only, for code that stores in 16 bits but computes wider.

Typical use: Conversions, no arithmetic

Specification

Open Zfhmin in the explorer

Dependencies

Requires

Required by

Instructions (10)

MnemonicNameEncodingMatchMask
FCVT.D.H010000100010-------------10100110x422000530xfff0007f
FCVT.H.DFloating-point Convert Double-precision to Half-precision010001000001-------------10100110x441000530xfff0007f
FCVT.H.QFloating-point Convert Quad-precision to Half-precision010001000011-------------10100110x443000530xfff0007f
FCVT.H.SConvert single-precision float to a half-precision float010001000000-------------10100110x440000530xfff0007f
FCVT.Q.HFloating-point Convert Half-precision to Quad-precision010001100010-------------10100110x462000530xfff0007f
FCVT.S.HConvert half-precision float to a single-precision float010000000010-------------10100110x402000530xfff0007f
FLHHalf-precision floating-point load-----------------001-----00001110x10070x707f
FMV.H.XHalf-precision floating-point move from integer111101000000-----000-----10100110xf40000530xfff0707f
FMV.X.HMove half-precision value from floating-point to integer register111001000000-----000-----10100110xe40000530xfff0707f
FSHHalf-precision floating-point store-----------------001-----01001110x10270x707f