[libre-riscv-dev] uniform instruction format
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Mon Jun 17 07:23:13 BST 2019
jacob, you missed some questions, which are important to resolve. going
through the pseudo-code, and also through the RV spec, the format of
RV48-I-type seems wrong. the pseudo-code says that it should match exactly
with RV32-I-Type, which it does not.
also can you clarify if the other potential error that i spotted is or is
not correct?
l.
+---------------+-------------+-------+----------+----------+--------+----------+--------+
| Encoding | 47:43 | 42:41 | 40:36 | 35:31 | 30:28 |
27:23 | 22:18 |
+---------------+-------------+-------+----------+----------+--------+----------+--------+
| RV32 Encoding | 31:27 | 26:25 | 24:20 | 19:15 | 14:12 | 11:7
| 6:2 |
+---------------+-------------+-------+----------+----------+--------+----------+--------+
| P48FI-type | funct7[6:2] | fmt | funct5 | rs1[4:0] | rm |
rd[4:0] | opcode |
+---------------+-------------+-------+----------+----------+--------+----------+--------+
More information about the libre-riscv-dev
mailing list