aboutsummaryrefslogtreecommitdiff
path: root/parse_opcodes
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2021-11-08 18:43:43 -0800
committerAndrew Waterman <andrew@sifive.com>2022-02-21 22:27:04 -0800
commit71cd23ab5d25cd8f5db26cb254245d8424bf854d (patch)
tree73e3274520f7f1dd872912296cfc917b802b0315 /parse_opcodes
parent2497a8cc120a9d30d0cc9bf01372dc2efbefbc25 (diff)
downloadriscv-opcodes-71cd23ab5d25cd8f5db26cb254245d8424bf854d.zip
riscv-opcodes-71cd23ab5d25cd8f5db26cb254245d8424bf854d.tar.gz
riscv-opcodes-71cd23ab5d25cd8f5db26cb254245d8424bf854d.tar.bz2
Add RNMI CSRs and instructionrnmi
Don't merge yet; it's still early days for this extension.
Diffstat (limited to 'parse_opcodes')
-rwxr-xr-xparse_opcodes6
1 files changed, 5 insertions, 1 deletions
diff --git a/parse_opcodes b/parse_opcodes
index 5f2ebb8..752c565 100755
--- a/parse_opcodes
+++ b/parse_opcodes
@@ -206,6 +206,10 @@ csrs = [
(0x344, 'mip'),
(0x34a, 'mtinst'),
(0x34b, 'mtval2'),
+ (0x350, 'mnscratch'),
+ (0x351, 'mnepc'),
+ (0x352, 'mncause'),
+ (0x353, 'mnstatus'),
(0x3a0, 'pmpcfg0'),
(0x3a1, 'pmpcfg1'),
(0x3a2, 'pmpcfg2'),
@@ -895,7 +899,7 @@ def print_insts(*names):
def make_supervisor_latex_table():
print_header('r', 'i')
print_subtitle('Trap-Return Instructions')
- print_insts('sret', 'mret')
+ print_insts('sret', 'mret', 'mnret')
print_subtitle('Interrupt-Management Instructions')
print_insts('wfi')
print_subtitle('Supervisor Memory-Management Instructions')