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
Open Zfhmin in the explorerDependencies
Requires
Required by
Instructions (10)
| Mnemonic | Name | Encoding | Match | Mask |
|---|---|---|---|---|
FCVT.D.H | 010000100010-------------1010011 | 0x42200053 | 0xfff0007f | |
FCVT.H.D | Floating-point Convert Double-precision to Half-precision | 010001000001-------------1010011 | 0x44100053 | 0xfff0007f |
FCVT.H.Q | Floating-point Convert Quad-precision to Half-precision | 010001000011-------------1010011 | 0x44300053 | 0xfff0007f |
FCVT.H.S | Convert single-precision float to a half-precision float | 010001000000-------------1010011 | 0x44000053 | 0xfff0007f |
FCVT.Q.H | Floating-point Convert Half-precision to Quad-precision | 010001100010-------------1010011 | 0x46200053 | 0xfff0007f |
FCVT.S.H | Convert half-precision float to a single-precision float | 010000000010-------------1010011 | 0x40200053 | 0xfff0007f |
FLH | Half-precision floating-point load | -----------------001-----0000111 | 0x1007 | 0x707f |
FMV.H.X | Half-precision floating-point move from integer | 111101000000-----000-----1010011 | 0xf4000053 | 0xfff0707f |
FMV.X.H | Move half-precision value from floating-point to integer register | 111001000000-----000-----1010011 | 0xe4000053 | 0xfff0707f |
FSH | Half-precision floating-point store | -----------------001-----0100111 | 0x1027 | 0x707f |