forked from OpenXiangShan/NEMU
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv64,system,priv: read clint for rdtime
* rdtime may be located in the middle of a basic block. Raising an illegal instruction exception will also flush the tcache, since we can not maintain the continuity of tcache entry. This will reduce performance of such rdtime instruciton is executed frequently. * To fix this, we let rdtime return the right value instead of raising an exception.
- Loading branch information
1 parent
0d03ea0
commit cbda50d
Showing
3 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters