aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2021-08-25 15:58:51 -0700
committerAndrew Waterman <andrew@sifive.com>2021-08-25 15:59:17 -0700
commit7cdc0412849acbd5a4a041b24c9defb7e2f6d9bc (patch)
tree22d8b3f32f2f9f6eb1eb01104a3f9474a9c271a1
parentd3e5e22e3ee07c97d1e262a847573b063fbc98dd (diff)
downloadriscv-opcodes-7cdc0412849acbd5a4a041b24c9defb7e2f6d9bc.zip
riscv-opcodes-7cdc0412849acbd5a4a041b24c9defb7e2f6d9bc.tar.gz
riscv-opcodes-7cdc0412849acbd5a4a041b24c9defb7e2f6d9bc.tar.bz2
Remove vestages of N extension
N has been deprecated in favor of bare S.
-rw-r--r--opcodes-system1
-rwxr-xr-xparse_opcodes10
2 files changed, 1 insertions, 10 deletions
diff --git a/opcodes-system b/opcodes-system
index 9517814..aa26e38 100644
--- a/opcodes-system
+++ b/opcodes-system
@@ -1,7 +1,6 @@
# SYSTEM
ecall 11..7=0 19..15=0 31..20=0x000 14..12=0 6..2=0x1C 1..0=3
ebreak 11..7=0 19..15=0 31..20=0x001 14..12=0 6..2=0x1C 1..0=3
-uret 11..7=0 19..15=0 31..20=0x002 14..12=0 6..2=0x1C 1..0=3
sret 11..7=0 19..15=0 31..20=0x102 14..12=0 6..2=0x1C 1..0=3
mret 11..7=0 19..15=0 31..20=0x302 14..12=0 6..2=0x1C 1..0=3
dret 11..7=0 19..15=0 31..20=0x7b2 14..12=0 6..2=0x1C 1..0=3
diff --git a/parse_opcodes b/parse_opcodes
index bec7250..b8059e5 100755
--- a/parse_opcodes
+++ b/parse_opcodes
@@ -87,18 +87,10 @@ csrs = [
(0x001, 'fflags'),
(0x002, 'frm'),
(0x003, 'fcsr'),
- (0x000, 'ustatus'),
- (0x004, 'uie'),
- (0x005, 'utvec'),
(0x008, 'vstart'),
(0x009, 'vxsat'),
(0x00A, 'vxrm'),
(0x00F, 'vcsr'),
- (0x040, 'uscratch'),
- (0x041, 'uepc'),
- (0x042, 'ucause'),
- (0x043, 'utval'),
- (0x044, 'uip'),
# Standard User RO
(0xC00, 'cycle'),
@@ -834,7 +826,7 @@ def print_insts(*names):
def make_supervisor_latex_table():
print_header('r', 'i')
print_subtitle('Trap-Return Instructions')
- print_insts('uret', 'sret', 'mret')
+ print_insts('sret', 'mret')
print_subtitle('Interrupt-Management Instructions')
print_insts('wfi')
print_subtitle('Supervisor Memory-Management Instructions')