This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

R.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]