aboutsummaryrefslogtreecommitdiff
path: root/parse_opcodes
diff options
context:
space:
mode:
authorChun-Ping Chung <cpchung@pllab.cs.nthu.edu.tw>2020-11-18 14:42:30 +0800
committerAndrew Waterman <andrew@sifive.com>2021-07-28 15:13:21 -0700
commit971ff5d2486ba2678593fef3d66a644ea00f41fe (patch)
treef9a62ae24d6618ffab536d323fc7d6b55cbbcfe5 /parse_opcodes
parent4b58dfb4860f1af5a21052e7128755de09ecdb9b (diff)
downloadriscv-opcodes-971ff5d2486ba2678593fef3d66a644ea00f41fe.zip
riscv-opcodes-971ff5d2486ba2678593fef3d66a644ea00f41fe.tar.gz
riscv-opcodes-971ff5d2486ba2678593fef3d66a644ea00f41fe.tar.bz2
RVP: v0.5.2 support
Diffstat (limited to 'parse_opcodes')
-rwxr-xr-xparse_opcodes9
1 files changed, 9 insertions, 0 deletions
diff --git a/parse_opcodes b/parse_opcodes
index 7bb5c3a..905bc32 100755
--- a/parse_opcodes
+++ b/parse_opcodes
@@ -38,6 +38,12 @@ arglut['shamt'] = (25,20)
arglut['shamtw'] = (24,20)
arglut['bs'] = (31,30) # byte select for RV32K AES
arglut['rnum'] = (23,20) # round constant for RV64 AES
+arglut['rc'] = (29,25)
+arglut['imm2'] = (21,20)
+arglut['imm3'] = (22,20)
+arglut['imm4'] = (23,20)
+arglut['imm5'] = (24,20)
+arglut['imm6'] = (25,20)
# for vectors
arglut['vd'] = (11,7)
@@ -294,6 +300,9 @@ csrs = [
(0x33D, 'mhpmevent29'),
(0x33E, 'mhpmevent30'),
(0x33F, 'mhpmevent31'),
+
+ # rvp
+ (0x801, 'ucode'),
# Standard Machine RO
(0xF11, 'mvendorid'),