[cfe-commits] [PATCH] ARM pli builtin and intrinsic
Eric Christopher
echristo at apple.com
Tue May 31 16:55:26 PDT 2011
On May 31, 2011, at 4:46 PM, Evan Cheng wrote:
> How about __builtin_instruction_prefetch? Or is too long?
>
> Evan
>
> On May 31, 2011, at 3:38 PM, Bruno Cardoso Lopes wrote:
>
>>> Adding another argument to @llvm.prefetch is fine. But what do you propose for C level builtin?
>>
>> __builtin_iprefetch or __builtin_icache_prefetch, with an address
>> argument only, either are fine for me. What's your opinion?
>>
FWIW I like __builtin_iprefetch. It's a shame the original prefetch wasn't __builtin_dprefetch.
If we wanted some symmetry we could have both __builtin_icache_prefetch and __builtin_dcache_prefetch, the second being an alias to the existing __builtin_prefetch.
-eric
More information about the cfe-commits
mailing list