On 10/23/2016 10:55 PM, [email protected] wrote:
> From: Vijaya Kumar K <[email protected]>
> 
> Optional parameters of __builtin_prefetch() which specifies
> rw and locality to 0's. For checking buffer is zero, set rw as read
> and temporal locality to 0.
> 
> On arm64, __builtin_prefetch(addr) generates 'prfm    pldl1keep'
> where __builtin_prefetch(addr, 0, 0) generates 'prfm pldl1strm'
> instruction which is optimal for this use case
> 
> Signed-off-by: Vijaya Kumar K <[email protected]>
> ---

Reviewed-by: Richard Henderson <[email protected]>


r~

Reply via email to