diff options
author | Yunsup Lee <yunsup@cs.berkeley.edu> | 2013-07-26 19:27:43 -0700 |
---|---|---|
committer | Yunsup Lee <yunsup@cs.berkeley.edu> | 2013-07-26 19:27:43 -0700 |
commit | 3b6b4ab18c45c8f8e007b46cc15c5c6cc8cc4dc3 (patch) | |
tree | 1d1f584b7bec114016d562e17e29682e400786dc | |
parent | 6587f83bc6708e7971e024fb25f747927975b993 (diff) | |
download | riscv-opcodes-3b6b4ab18c45c8f8e007b46cc15c5c6cc8cc4dc3.zip riscv-opcodes-3b6b4ab18c45c8f8e007b46cc15c5c6cc8cc4dc3.tar.gz riscv-opcodes-3b6b4ab18c45c8f8e007b46cc15c5c6cc8cc4dc3.tar.bz2 |
change supervisor encoding
-rw-r--r-- | opcodes | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |