Zfa Instructions
6 RISC-V instructions in this extension - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | Format | Summary |
|---|---|---|---|
| FLI.D | FLI.D rd, rs1 | R-Type | Loads one of 32 predefined double-precision constants into a floating-point register. |
| FLI.H | FLI.H rd, rs1 | R-Type | Loads one of 32 predefined half-precision constants into a floating-point register. |
| FLI.S | FLI.S rd, rs1 | R-Type | Loads one of 32 predefined single-precision constants into a floating-point register. |
| FMAXM.S | FMAXM.S rd, rs1, rs2 | R-Type | Maximum of two single-precision values; the result is the canonical NaN if either input is NaN. |
| FMINM.S | FMINM.S rd, rs1, rs2 | R-Type | Minimum of two single-precision values; the result is the canonical NaN if either input is NaN. |
| FROUND.S | FROUND.S rd, rs1, rm | I-Type | Rounds a single-precision value to an integral value, in floating-point format, using the rm field. |