This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH v2] ARM: Add Cortex-A15 optimized NEON and VFP memcpy routines, with IFUNC.
- From: Will Newton <will dot newton at linaro dot org>
- To: Siddhesh Poyarekar <siddhesh dot poyarekar at gmail dot com>
- Cc: Richard Henderson <rth at twiddle dot net>, libc-ports at sourceware dot org, Patch Tracking <patches at linaro dot org>
- Date: Thu, 18 Apr 2013 08:54:15 +0100
- Subject: Re: [PATCH v2] ARM: Add Cortex-A15 optimized NEON and VFP memcpy routines, with IFUNC.
- References: <516D18F0 dot 4060009 at linaro dot org> <516EC27E dot 8080502 at twiddle dot net> <CANu=DmgZjMZdijjjsxnECU9CMJmNkUqTbYctp+WA_VxmTN=O-A at mail dot gmail dot com> <516FA3CF dot 8080200 at twiddle dot net> <CAAHN_R0cE3LQVH9iEENaS=6Zq2U2E1Fa6SkUyQGYd-z0w7Ki_Q at mail dot gmail dot com>
On 18 April 2013 08:47, Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> wrote:
> On 18 April 2013 13:12, Richard Henderson <rth@twiddle.net> wrote:
>> On 2013-04-17 17:53, Will Newton wrote:
>>>>
>>>> From reading the comments of the code v7 is required for NEON, v6 is
>>>
>>> required for VFP and unaligned access is required. The unaligned
>>> access requirement may be a problem on v5 I'm not sure. NB: I did not
>>> write the memcpy code so I have not looked at it in great detail.
>>
>>
>> Neon won't exist before v7, true. But then it ought not be advertized
>> by the hwcap either, so it won't be selected.
>>
>> Anyone got a raspberry pi to benchmark the current and the new here?
>
> I can do the benchmark on my raspberry pi.
Hi Siddesh,
Thanks for the offer, I don't have any armv6 hardware to test with.
The easiest way to test is probably using the cortex-strings package
(as the patch I posted is for armv7).
https://launchpad.net/cortex-strings
"try-this -t memcpy" will benchmark the code I submitted, "try-glibc
-t memcpy" will benchmark the current glibc code.
--
Will Newton
Toolchain Working Group, Linaro