diff options
Diffstat (limited to 'rv_zicntr')
-rw-r--r-- | rv_zicntr | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rv_zicntr b/rv_zicntr new file mode 100644 index 0000000..bedae43 --- /dev/null +++ b/rv_zicntr @@ -0,0 +1,4 @@ +#rv_zicntr instructions
+$pseudo_op rv_zicsr::csrrs rdcycle rd 19..15=0 31..20=0xC00 14..12=2 6..2=0x1C 1..0=3
+$pseudo_op rv_zicsr::csrrs rdtime rd 19..15=0 31..20=0xC01 14..12=2 6..2=0x1C 1..0=3
+$pseudo_op rv_zicsr::csrrs rdinstret rd 19..15=0 31..20=0xC02 14..12=2 6..2=0x1C 1..0=3
|