This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use __riscv_flush_icache to flush the I$ on Linux
The fence.i instruction is not appropriate, because it only flushes the current core's I$. If the thread is migrated to a different core, the instructions would be incoherent. This depends on riscvarchive/riscv-glibc#22
- Loading branch information
1 parent
9a3711d
commit d2cc398
Showing
2 changed files
with
8 additions
and
0 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