summaryrefslogtreecommitdiff
path: root/parse-opcodes
diff options
context:
space:
mode:
authorGravatar Andrew Waterman <waterman@eecs.berkeley.edu>2014-02-06 01:38:03 -0800
committerGravatar Andrew Waterman <waterman@eecs.berkeley.edu>2014-02-06 01:38:03 -0800
commit2cc2860d5e1992fe15449041834c2d4d39553622 (patch)
treebbce38046a25904a879405db360e743c58d37b31 /parse-opcodes
parent53cc1d5f2b8e9d87fc72132d7c962286967691ca (diff)
Reserve 16 uarch-specific read-only userspace counters
Diffstat (limited to 'parse-opcodes')
-rwxr-xr-xparse-opcodes16
1 files changed, 16 insertions, 0 deletions
diff --git a/parse-opcodes b/parse-opcodes
index 3cd0c27..8a698e7 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -82,6 +82,22 @@ csrs = [
(0xC00, 'cycle'),
(0xC01, 'time'),
(0xC02, 'instret'),
+ (0xC10, 'uarch0'),
+ (0xC11, 'uarch1'),
+ (0xC12, 'uarch2'),
+ (0xC13, 'uarch3'),
+ (0xC14, 'uarch4'),
+ (0xC15, 'uarch5'),
+ (0xC16, 'uarch6'),
+ (0xC17, 'uarch7'),
+ (0xC18, 'uarch8'),
+ (0xC19, 'uarch9'),
+ (0xC1A, 'uarch10'),
+ (0xC1B, 'uarch11'),
+ (0xC1C, 'uarch12'),
+ (0xC1D, 'uarch13'),
+ (0xC1E, 'uarch14'),
+ (0xC1F, 'uarch15'),
]
opcode_base = 0