[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [RFC PATCH v2 2/2] utils: Add prefetch for Thunderx platf
From: |
Vijay Kilari |
Subject: |
Re: [Qemu-arm] [RFC PATCH v2 2/2] utils: Add prefetch for Thunderx platform |
Date: |
Wed, 17 Aug 2016 05:15:16 +0530 |
On Tue, Aug 16, 2016 at 11:32 PM, Richard Henderson <address@hidden> wrote:
> On 08/16/2016 05:02 AM, address@hidden wrote:
>>
>> +static inline void prefetch_vector_loop(const VECTYPE *p, int index)
>> +{
>> +#if defined(__aarch64__)
>> + if (is_thunderx_pass2_cpu()) {
>> + /* Prefetch 4 cache lines ahead from index */
>> + VEC_PREFETCH(p, index + (BUFFER_FIND_NONZERO_OFFSET_UNROLL_FACTOR
>> * 4));
>> + }
>> +#endif
>> +}
>
>
> Oh come now. This is even worse than before. A function call protecting a
> mere prefetch within the main body of an inner loop?
>
> Did you not understand what I was asking for?
No, Could you please detail the problem?.
>
>
> r~
- [Qemu-arm] [RFC PATCH v2 0/2] Live migration optimization for Thunderx platform, vijay . kilari, 2016/08/16
- Re: [Qemu-arm] [Qemu-devel] [RFC PATCH v2 0/2] Live migration optimization for Thunderx platform, no-reply, 2016/08/16
- Message not available
- Re: [Qemu-arm] [RFC PATCH v2 1/2] utils: Add helper to read arm MIDR_EL1 register, Paolo Bonzini, 2016/08/17
- Re: [Qemu-arm] [RFC PATCH v2 1/2] utils: Add helper to read arm MIDR_EL1 register, Vijay Kilari, 2016/08/18
- Re: [Qemu-arm] [RFC PATCH v2 1/2] utils: Add helper to read arm MIDR_EL1 register, Paolo Bonzini, 2016/08/18
- Re: [Qemu-arm] [RFC PATCH v2 1/2] utils: Add helper to read arm MIDR_EL1 register, Vijay Kilari, 2016/08/18
- Re: [Qemu-arm] [RFC PATCH v2 1/2] utils: Add helper to read arm MIDR_EL1 register, Paolo Bonzini, 2016/08/18
- Re: [Qemu-arm] [RFC PATCH v2 1/2] utils: Add helper to read arm MIDR_EL1 register, Richard Henderson, 2016/08/18
- Re: [Qemu-arm] [RFC PATCH v2 1/2] utils: Add helper to read arm MIDR_EL1 register, Peter Maydell, 2016/08/18