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

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

Reply via email to