commit | b973f3dfa356e5425e0fa1dd3e4b0625a47346c3 | [log] [tgz] |
---|---|---|
author | Paul Daniel Faria <paulfaria@google.com> | Fri Mar 15 17:51:36 2024 +0000 |
committer | Paul Daniel Faria <paulfaria@google.com> | Mon Mar 18 17:15:16 2024 +0000 |
tree | 3fad9b8fb893de78518c4dddc9514b4d7b9e0ade | |
parent | 8b46f937d2fdc042bb3e9c699d1a483f02d64983 [diff] |
[heavy_optimizer/riscv64] Support fence insn Disable support for fence.i and recommend using riscv_flush_icache syscall instead. Reviweed riscv_flush_icache syscall, and it does appear to be implemented correctly. It forces all threads to report back to the dispatcher by injecting a no-op pending signal, which causes all threads to load any potentionally new code from the translation cache. Bug: 291126436 Test: m berberis_all berberis_run_host_tests Change-Id: I7c3fb3f8296de73d400e966d48a2cb7b2591402c
Berberis: dynamic binary translator to run Android apps with riscv64 native code on x86_64 devices or emulators.