[all-commits] [llvm/llvm-project] 99a8cc: [compiler-rt][builtins][RISCV] Port __clear_cache ...
Luís Marques via All-commits
all-commits at lists.llvm.org
Thu Mar 5 08:45:09 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 99a8cc2b7d89ff73a20aa3e0317fee8b5cb5cecb
https://github.com/llvm/llvm-project/commit/99a8cc2b7d89ff73a20aa3e0317fee8b5cb5cecb
Author: Luís Marques <luismarques at lowrisc.org>
Date: 2020-03-05 (Thu, 05 Mar 2020)
Changed paths:
M compiler-rt/lib/builtins/clear_cache.c
Log Message:
-----------
[compiler-rt][builtins][RISCV] Port __clear_cache to RISC-V Linux
Implements `__clear_cache` for RISC-V Linux. We can't just use `fence.i` on
Linux, because the Linux thread might be scheduled on another hart, and the
`fence.i` instruction only flushes the icache of the current hart.
More information about the All-commits
mailing list