[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH v3 1/3] cutils: Set __builtin_prefetch optional pa

From: Richard Henderson
Subject: Re: [Qemu-arm] [PATCH v3 1/3] cutils: Set __builtin_prefetch optional parameters
Date: Mon, 24 Oct 2016 08:43:36 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 10/23/2016 10:55 PM, address@hidden wrote:
> From: Vijaya Kumar K <address@hidden>
> 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 <address@hidden>
> ---

Reviewed-by: Richard Henderson <address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]