summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorGravatar Yunsup Lee <yunsup@cs.berkeley.edu>2013-07-26 19:27:43 -0700
committerGravatar Yunsup Lee <yunsup@cs.berkeley.edu>2013-07-26 19:27:43 -0700
commit3b6b4ab18c45c8f8e007b46cc15c5c6cc8cc4dc3 (patch)
tree1d1f584b7bec114016d562e17e29682e400786dc /opcodes
parent6587f83bc6708e7971e024fb25f747927975b993 (diff)
change supervisor encoding
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes10
1 files changed, 5 insertions, 5 deletions
diff --git a/opcodes b/opcodes
index 036dd83..2699902 100644
--- a/opcodes
+++ b/opcodes
@@ -120,11 +120,11 @@ rdtime rd 26..22=0 21..17=0 16..10=1 9..7=4 6..2=0x1D 1..0=3
rdinstret rd 26..22=0 21..17=0 16..10=2 9..7=4 6..2=0x1D 1..0=3
# SUPERVISOR
-clearpcr rd rs1 imm12 9..7=0 6..2=0x1E 1..0=3
-setpcr rd rs1 imm12 9..7=1 6..2=0x1E 1..0=3
-mfpcr rd rs1 21..17=0 16..10=0 9..7=2 6..2=0x1E 1..0=3
-mtpcr rd rs1 rs2 16..10=0 9..7=3 6..2=0x1E 1..0=3
-eret 31..27=0 26..22=0 21..17=0 16..10=0 9..7=4 6..2=0x1E 1..0=3
+mtpcr rd rs1 rs2 16..10=0 9..7=0 6..2=0x1C 1..0=3
+mfpcr rd rs1 21..17=0 16..10=0 9..7=1 6..2=0x1C 1..0=3
+setpcr rd rs1 imm12 9..7=2 6..2=0x1C 1..0=3
+clearpcr rd rs1 imm12 9..7=3 6..2=0x1C 1..0=3
+eret 31..27=0 26..22=0 21..17=0 16..10=0 9..7=4 6..2=0x1C 1..0=3
# 0x7C-0x7F are reserved for >32b instructions