aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Schmidt <colins@eecs.berkeley.edu>2018-11-07 22:59:43 -0800
committerColin Schmidt <colins@eecs.berkeley.edu>2018-11-07 22:59:43 -0800
commit3520431c4a33e64e8b498a0be66c87040376792a (patch)
tree9383addc5c762ff2943b65b7297d897949dba64b
parent531338fcd618665407210b8fa5a2e56a9a93335f (diff)
downloadriscv-opcodes-3520431c4a33e64e8b498a0be66c87040376792a.zip
riscv-opcodes-3520431c4a33e64e8b498a0be66c87040376792a.tar.gz
riscv-opcodes-3520431c4a33e64e8b498a0be66c87040376792a.tar.bz2
Fix rvv csrs for rv32 vs rv64
-rwxr-xr-xparse-opcodes24
1 files changed, 8 insertions, 16 deletions
diff --git a/parse-opcodes b/parse-opcodes
index f518cb7..a231770 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -69,21 +69,13 @@ csrs = [
(0x013, 'vregmask'),
(0x014, 'vxcfg'),
(0x020, 'vtcfg0'),
- (0x021, 'vtcfg1'),
(0x022, 'vtcfg2'),
- (0x023, 'vtcfg3'),
(0x024, 'vtcfg4'),
- (0x025, 'vtcfg5'),
(0x026, 'vtcfg6'),
- (0x027, 'vtcfg7'),
(0x028, 'vtcfg8'),
- (0x029, 'vtcfg9'),
(0x02a, 'vtcfg10'),
- (0x02b, 'vtcfg11'),
(0x02c, 'vtcfg12'),
- (0x02d, 'vtcfg13'),
(0x02e, 'vtcfg14'),
- (0x02f, 'vtcfg15'),
# Standard User RO
@@ -242,14 +234,14 @@ csrs = [
csrs32 = [
# Standard User R/W
- (0x021, 'vcfg1'),
- (0x023, 'vcfg3'),
- (0x025, 'vcfg5'),
- (0x027, 'vcfg7'),
- (0x029, 'vcfg9'),
- (0x02b, 'vcfg11'),
- (0x02d, 'vcfg13'),
- (0x02f, 'vcfg15'),
+ (0x021, 'vtcfg1'),
+ (0x023, 'vtcfg3'),
+ (0x025, 'vtcfg5'),
+ (0x027, 'vtcfg7'),
+ (0x029, 'vtcfg9'),
+ (0x02b, 'vtcfg11'),
+ (0x02d, 'vtcfg13'),
+ (0x02f, 'vtcfg15'),
# Standard User RO
(0xC80, 'cycleh'),