aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Schmidt <colins@berkeley.edu>2018-02-28 13:48:22 -0800
committerColin Schmidt <colins@berkeley.edu>2018-02-28 13:48:22 -0800
commitca36c1c738a9b5cd734f9024069cb998f3a08c22 (patch)
tree80bd864e3271948738d38f3547ee899272dae539
parentc7159b644a01c56851150b216c6fe2e2a730595e (diff)
downloadriscv-opcodes-ca36c1c738a9b5cd734f9024069cb998f3a08c22.zip
riscv-opcodes-ca36c1c738a9b5cd734f9024069cb998f3a08c22.tar.gz
riscv-opcodes-ca36c1c738a9b5cd734f9024069cb998f3a08c22.tar.bz2
Add csrs for v-ext in rv32 and rv64
-rwxr-xr-xparse-opcodes24
1 files changed, 24 insertions, 0 deletions
diff --git a/parse-opcodes b/parse-opcodes
index 8faf5a4..42677cf 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -62,6 +62,20 @@ csrs = [
(0x001, 'fflags'),
(0x002, 'frm'),
(0x003, 'fcsr'),
+ (0x010, 'vcs'),
+ (0x011, 'vl'),
+ (0x012, 'vxrm'),
+ (0x013, 'vxsat'),
+ (0x014, 'vmaxew'),
+ (0x020, 'vcfg0'),
+ (0x022, 'vcfg2'),
+ (0x024, 'vcfg4'),
+ (0x026, 'vcfg6'),
+ (0x028, 'vcfg8'),
+ (0x02a, 'vcfg10'),
+ (0x02c, 'vcfg12'),
+ (0x02e, 'vcfg14'),
+
# Standard User RO
(0xC00, 'cycle'),
@@ -218,6 +232,16 @@ csrs = [
]
csrs32 = [
+ # Standard User R/W
+ (0x021, 'vcfg1'),
+ (0x023, 'vcfg3'),
+ (0x025, 'vcfg5'),
+ (0x027, 'vcfg7'),
+ (0x029, 'vcfg9'),
+ (0x02b, 'vcfg11'),
+ (0x02d, 'vcfg13'),
+ (0x02f, 'vcfg15'),
+
# Standard User RO
(0xC80, 'cycleh'),
(0xC81, 'timeh'),