Half-precision floating point
Type: unprivileged
Zfhmin
| Version | State | Ratified |
|---|---|---|
| 1.0.0 | ratified | 2021-11 |
16-bit half-precision binary floating-point instructions compliant with the IEEE 754-2008 arithmetic standard. The `Zfh` extension depends on the single-precision floating-point extension, `F`. The NaN-boxing scheme is extended to allow a half-precision value to be NaN-boxed inside a single-precision value (which may be recursively NaN-boxed inside a double- or quad-precision value when the D or Q extension is present).
fadd.h — Floating-Point Add Half-Precisionfclass.h — Floating-Point Classify Half-Precisionfcvt.h.l — Floating-point Convert Long to Half-precisionfcvt.h.lu — Floating-point Convert Unsigned Long to Half-precisionfcvt.h.w — Floating-point Convert Word to Half-precisionfcvt.h.wu — Floating-point Convert Unsigned Word to Half-precisionfcvt.l.h — Floating-point Convert Half-precision to Longfcvt.lu.h — Floating-point Convert Half-precision to Unsigned Longfcvt.w.h — Floating-point Convert Half-precision to Wordfcvt.wu.h — Floating-point Convert Half-precision to Unsigned Wordfdiv.h — Floating-Point Divide Half-Precisionfeq.h — Floating-Point Equal Half-Precisionfle.h — Floating-Point Less Than or Equal Half-Precisionfleq.h — No synopsis availablefli.h — Floating-point Load Immediate Half-precisionflt.h — Floating-Point Less Than Half-Precisionfltq.h — No synopsis availablefmadd.h — Floating-Point Multiply-Add Half-Precisionfmax.h — Floating-Point Maximum-Number Half-Precisionfmaxm.h — No synopsis availablefmin.h — Floating-Point Minimum-Number Half-Precisionfminm.h — No synopsis availablefmsub.h — Floating-Point Multiply-Subtract Half-Precisionfmul.h — Floating-Point Multiply Half-Precisionfnmadd.h — Floating-Point Negate-Multiply-Add Half-Precisionfnmsub.h — Floating-Point Negate-Multiply-Subtract Half-Precisionfround.h — No synopsis availablefroundnx.h — No synopsis availablefsgnj.h — Floating-Point Sign-Inject Half-Precisionfsgnjn.h — Floating-Point Sign-Inject Negate Half-Precisionfsgnjx.h — Floating-Point Sign-Inject XOR Half-Precisionfsqrt.h — Floating-Point Square Root Half-Precisionfsub.h — Floating-Point Subtract Half-PrecisionVersion af3eaf9+cheriot.f635218
Data from the RISC-V Unified Database, copyright RISC-V International and contributors.
CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.
This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.