[patch] implement __clear_cache for arm32 & mips
jfb at google.com
Tue Mar 4 15:13:19 PST 2014
(I'm unfamiliar with MIPS, simply reviewing the ARM code)
* It would be better to put the ARM code with the NetBSD ARM code, not
* Some platforms apparently fail doing this properly, and syscall returns
an error. I don't know if Android guarantees that this works, but it may be
worth checking the return value and aborting on syscall failure.
* JITs I've seen all use inline asm with a straight call to svc (with
proper ARM/Thumb headache). There seems to be mysticism around this that
I've never quite grasped, since the compiler should just emit the svc. See:
On Wed, Feb 26, 2014 at 8:36 AM, Narayan Kamath <narayan at google.com> wrote:
> Note that both arm32 and mips flavours of this code generate
> a syscall.
> Save Rainforests
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits