Half-precision floating-point instructions using integer registers
Type: unprivileged
Zhinxmin
| Version | State | Ratified |
|---|---|---|
| 1.0.0 | ratified | 2021-11 |
The Zhinx extension provides analogous half-precision floating-point instructions. The Zhinx extension depends upon the Zfinx extension. The Zhinx extension adds all of the instructions that the Zfh extension adds, except for the transfer instructions FLH, FSH, FMV.H.X, and FMV.X.H. The Zhinx variants of these Zfh-extension instructions have the same semantics, except that whenever such an instruction would have accessed an f register, it instead accesses the x register with the same number.
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-Precisionflt.h — Floating-Point Less Than Half-Precisionfmadd.h — Floating-Point Multiply-Add Half-Precisionfmax.h — Floating-Point Maximum-Number Half-Precisionfmin.h — Floating-Point Minimum-Number Half-Precisionfmsub.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-Precisionfsgnj.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.