[patch] implement __clear_cache for arm32 & mips

Renato Golin renato.golin at linaro.org
Fri Mar 7 00:52:47 PST 2014

On 6 March 2014 02:37, JF Bastien <jfb at google.com> wrote:
> I don't think copy/paste is the right thing, but calling svc is simple
> enough that a different implementation (one for ARM and one for Thumb)
> should work, in the same style as other inline asm in this file.

Would it be a good idea to implement __builtin___clear_cache like in
GCC 4.3, so that we can emit instructions based on the backend, and
call __clear_cache as a fall back?


More information about the llvm-commits mailing list