aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-06-30 13:05:17 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-06-30 13:05:17 -0700
commitea5ed10e1de000c1e0d648401d31b6b6d411c434 (patch)
tree527c601a1f7abc32d87e5405aec5e0a1109732f3
parent10b49ea88ec38f00c040090b6adb733e976f5b48 (diff)
downloadriscv-opcodes-ea5ed10e1de000c1e0d648401d31b6b6d411c434.zip
riscv-opcodes-ea5ed10e1de000c1e0d648401d31b6b6d411c434.tar.gz
riscv-opcodes-ea5ed10e1de000c1e0d648401d31b6b6d411c434.tar.bz2
Remove instructions from privilege spec that are already in user spec
-rwxr-xr-xparse-opcodes7
1 files changed, 2 insertions, 5 deletions
diff --git a/parse-opcodes b/parse-opcodes
index c058341..44a22da 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -587,11 +587,8 @@ def print_insts(*names):
def make_supervisor_latex_table():
print_header('i')
- print_subtitle('Instructions to Access CSRs')
- print_insts('csrrw', 'csrrs', 'csrrc')
- print_insts('csrrwi', 'csrrsi', 'csrrci')
- print_subtitle('Instructions to Change Privilege Level')
- print_insts('ecall', 'ebreak', 'uret', 'sret', 'hret', 'mret')
+ print_subtitle('Trap-Return Instructions')
+ print_insts('uret', 'sret', 'hret', 'mret')
print_subtitle('Interrupt-Management Instructions')
print_insts('wfi')
print_subtitle('Memory-Management Instructions')