initial
This commit is contained in:
commit
a84b8fcfde
91 files changed
+88177
No files matched your search
@@ -0,0 +1,19 @@
|
||||
.section .text
|
||||
.globl rdcycle
|
||||
.globl rdinstret
|
||||
|
||||
rdcycle:
|
||||
.L0:
|
||||
rdcycleh a1
|
||||
rdcycle a0
|
||||
rdcycleh t0
|
||||
bne a1,t0,.L0
|
||||
ret
|
||||
|
||||
rdinstret:
|
||||
.L1:
|
||||
rdinstreth a1
|
||||
rdinstret a0
|
||||
rdinstreth t0
|
||||
bne a1,t0,.L1
|
||||
ret
|
||||
Reference in new issue
Block a user