XRay-aarch64-linux::patching-unpatching.cc test flaky
Renato Golin via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 12:19:44 PST 2016
On 19 December 2016 at 19:10, Serge Rogatch <serge.rogatch at gmail.com> wrote:
> Is this possible that CPU cache stays so incoherent with the data cache?
Hi Serge,
Unlike Intel, the instruction cache and the data cache on ARM have
different update policies (ie. are not coherent). For self modifying
code you need to actively clear the cache (via __clear_cache).
Check this post:
https://www.community.arm.com/processors/b/blog/posts/caches-and-self-modifying-code
cheers,
--renato
More information about the llvm-commits
mailing list