aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-03-12 17:35:30 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2015-03-12 17:35:30 -0700
commit43ca48c7d1ff67af4286a93185fc83f75be4760f (patch)
tree23c9fedde6743be5b417f85a679d0e20162c45e2 /opcodes
parente37d3bd4d882776771ea27e4b1c5957b69950712 (diff)
downloadriscv-opcodes-43ca48c7d1ff67af4286a93185fc83f75be4760f.zip
riscv-opcodes-43ca48c7d1ff67af4286a93185fc83f75be4760f.tar.gz
riscv-opcodes-43ca48c7d1ff67af4286a93185fc83f75be4760f.tar.bz2
Update to new privileged spec
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes22
1 files changed, 13 insertions, 9 deletions
diff --git a/opcodes b/opcodes
index 85b8dd3..de4cc01 100644
--- a/opcodes
+++ b/opcodes
@@ -113,15 +113,19 @@ lr.d rd rs1 24..20=0 aqrl 31..29=0 28..27=2 14..12=3 6..2=0x0B 1..0=3
sc.d rd rs1 rs2 aqrl 31..29=0 28..27=3 14..12=3 6..2=0x0B 1..0=3
# SYSTEM
-scall 11..7=0 19..15=0 31..20=0x000 14..12=0 6..2=0x1C 1..0=3
-sbreak 11..7=0 19..15=0 31..20=0x001 14..12=0 6..2=0x1C 1..0=3
-sret 11..7=0 19..15=0 31..20=0x800 14..12=0 6..2=0x1C 1..0=3
-csrrw rd rs1 imm12 14..12=1 6..2=0x1C 1..0=3
-csrrs rd rs1 imm12 14..12=2 6..2=0x1C 1..0=3
-csrrc rd rs1 imm12 14..12=3 6..2=0x1C 1..0=3
-csrrwi rd rs1 imm12 14..12=5 6..2=0x1C 1..0=3
-csrrsi rd rs1 imm12 14..12=6 6..2=0x1C 1..0=3
-csrrci rd rs1 imm12 14..12=7 6..2=0x1C 1..0=3
+scall 11..7=0 19..15=0 31..20=0x000 14..12=0 6..2=0x1C 1..0=3
+sbreak 11..7=0 19..15=0 31..20=0x001 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
+sfence.vm 11..7=0 rs1 31..20=0x104 14..12=0 6..2=0x1C 1..0=3
+mcall 11..7=0 19..15=0 31..20=0x200 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
+mrts 11..7=0 19..15=0 31..20=0x309 14..12=0 6..2=0x1C 1..0=3
+csrrw rd rs1 imm12 14..12=1 6..2=0x1C 1..0=3
+csrrs rd rs1 imm12 14..12=2 6..2=0x1C 1..0=3
+csrrc rd rs1 imm12 14..12=3 6..2=0x1C 1..0=3
+csrrwi rd rs1 imm12 14..12=5 6..2=0x1C 1..0=3
+csrrsi rd rs1 imm12 14..12=6 6..2=0x1C 1..0=3
+csrrci rd rs1 imm12 14..12=7 6..2=0x1C 1..0=3
# F/D EXTENSIONS
fadd.s rd rs1 rs2 31..27=0x00 rm 26..25=0 6..2=0x14 1..0=3