The attached patch implements __clear_cache for the ARM. The
implementation is not as simple as I would expect. The problem is that
I cannot use "f" because there is no header defining it and cannot use
"F" because it doesn't start with __builtin (we would have a call to
"che" :-) ).

The patch also removes some dead code. There is not need to special
case ARM::BI__builtin_thread_pointer since the generic intrinsic
handling code takes care of it.

Cheers,
-- 
Rafael Ávila de Espíndola

Attachment: clear_cache.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to