mips64: Use __clear_cache builtin instead of cacheflush

Duane Sand Duane.Sand at imgtec.com
Fri Jun 20 15:55:56 PDT 2014


Patch attached as a .txt file
________________________________
From: Duane Sand
Sent: Friday, June 20, 2014 2:50 PM
To: llvm-commits at cs.uiuc.edu
Cc: Daniel Sanders
Subject: mips64: Use __clear_cache builtin instead of cacheflush

mips64 Android bionic has dropped the mips32-specific cacheflush() routine.
Use the compiler's __clear_cache builtin on mips and mips64, as already done for arm and aarch64.
Delete dead code for calling Android's mutated-arg version of mips32 cacheflush().

See https://android-review.googlesource.com/#/c/96717 for previous discussion of this at aosp.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140620/11c22031/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cache.patch.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140620/11c22031/attachment.txt>


More information about the llvm-commits mailing list