Additional Floating-Point Instructions
Type: unprivileged
F
| Version | State | Ratified |
|---|---|---|
| 1.0.0 | ratified | 2023-09 |
`Zfa` adds instructions for immediate loads, IEEE 754-2019 minimum and maximum operations, round-to-integer operations, and quiet floating-point comparisons. For RV32D, the `Zfa` extension also adds instructions to transfer double-precision floating-point values to and from integer registers, and for RV64Q, it adds analogous instructions for quad-precision floating-point values. The `Zfa` extension depends on the `F` extension.
fcvtmod.w.d — Floating-Point Convert Double-Precision to Word with Modulofleq.d — Floating-Point Less Than or Equal Quiet Double-Precisionfleq.h — No synopsis availablefleq.q — Floating-Point Less Than or Equal Quiet Quad-Precisionfleq.s — Floating-Point Less Than or Equal Quiet Single-Precisionfli.d — Floating-Point Load Immediate Double-Precisionfli.h — Floating-point Load Immediate Half-precisionfli.q — Floating-Point Load Immediate Quad-Precisionfli.s — No synopsis availablefltq.d — Floating-Point Less Than Quiet Double-Precisionfltq.h — No synopsis availablefltq.q — Floating-Point Less Than Quiet Quad-Precisionfltq.s — Floating-Point Less Than Quiet Single-Precisionfmaxm.d — Floating-Point Maximum-Number NaN Double-Precisionfmaxm.h — No synopsis availablefmaxm.q — Floating-Point Maximum-Number NaN Quad-Precisionfmaxm.s — No synopsis availablefminm.d — Floating-Point Minimum-Number NaN Double-Precisionfminm.h — No synopsis availablefminm.q — Floating-Point Minimum-Number NaN Quad-Precisionfminm.s — No synopsis availablefmvh.x.d — Floating-Point Move High Half from Double-Precision Register to Integer Registerfmvh.x.q — Floating-Point Move High Half to Integer from Quad-Precisionfmvp.d.x — Floating-Point Move Pair from Integer Registers to Double-Precision Registerfmvp.q.x — Floating-Point Move Pair from Integer Registers to Quad-Precision Registerfround.d — Floating-Point Round Double-Precisionfround.h — No synopsis availablefround.q — Floating-Point Round Quad-Precisionfround.s — Floating-point round single-precision float to integerfroundnx.d — Floating-Point Round-to-Integer Inexact Double-Precisionfroundnx.h — No synopsis availablefroundnx.q — Floating-Point Round-to-Integer Inexact Quad-Precisionfroundnx.s — Floating-point Round Single-precision to Integer with InexactVersion 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.