[llvm-commits] [cfe-commits] [PATCH] ARM pli builtin and intrinsic

Evan Cheng evan.cheng at apple.com
Tue May 31 17:26:23 PDT 2011


On May 31, 2011, at 4:55 PM, Eric Christopher wrote:

> 
> 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.

I don't have a strong preference. All of these names seem fine.

Evan

> 
> -eric
> 




More information about the llvm-commits mailing list