Commit afbb5b4
committed
Fix F register count to 32 for RV32E with F extension
According to RV32E Base Integer Instruction Set, Version 1.9 [1]:
RV32E can be combined with all current standard extensions. Defining the
F, D, and Q extensions as having a 16-entry floating point register file
when combined with RV32E was considered but decided against.
When RV32E is used with floating-point extensions, the floating-point
register file should have 32 entries instead of N_RV_REGS (16).
Adjust array size accordingly.
[1] https://five-embeddev.com/riscv-user-isa-manual/Priv-v1.12/rv32e.html#rv32e1 parent 1286b3c commit afbb5b4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments