[PATCH, v3] ARM: Integrate Cortex-A15 optimized memcpy using NEON/VFP.

Richard Earnshaw rearnsha@arm.com
Fri Apr 12 16:07:00 GMT 2013

On 12/04/13 16:13, Schwarz, Konrad wrote:
>> -----Original Message-----
>> From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org]
>> On Behalf Of Richard Earnshaw
>> Sent: Friday, April 12, 2013 2:16 PM
>> Subject: Re: [PATCH, v3] ARM: Integrate Cortex-A15 optimized memcpy
>> using NEON/VFP.
>> Everything you're talking about here is for full OS-based systems with
>> context switching.  Since Newlib is primarily (outside of Cygwin) a
>> library for bare metal systems, surely we should provide developers
>> with ability to chose.  Given that the code provides three variants for
>> different configurations, I don't really see what you are arguing
>> about, unless it is that we shouldn't give users a choice.
> I'm worried that the floating-point version will be used as
> the default.

I really don't see that as an issue for newlib.  I think it's reasonable 
to assume here that if the user has enabled FP/Neon, then they're happy 
to use it whenever there's a benefit to be obtained by doing so. 
Context switch issues are irrelevant on bare metal.


More information about the Newlib mailing list