Re: [U-Boot] [PATCH] lib/string: memmove: use memcpy if it is safe to do so

2011-10-29 Thread Wolfgang Denk
Dear Peter Korsgaard, In message <87vcr8ofw9@macbook.be.48ers.dk> you wrote: > > Wolfgang> So you are adding code, making the system even less efficient? > This > Wolfgang> sounds to be acounter-productive approach. > > Well, slightly less efficient for the (uncommon) situation where > sr

Re: [U-Boot] [PATCH] lib/string: memmove: use memcpy if it is safe to do so

2011-10-28 Thread Mike Frysinger
On Fri, Oct 28, 2011 at 22:25, Wolfgang Denk wrote: > Peter Korsgaard wrote: >> memmove is used in a number of performance critical places, like copying the >> linux kernel from nor flash to ram, so optimizing it can be interesting. >> >> Unfortunately, an arch specific version of memmove often isn

Re: [U-Boot] [PATCH] lib/string: memmove: use memcpy if it is safe to do so

2011-10-28 Thread Peter Korsgaard
> "Wolfgang" == Wolfgang Denk writes: Hi, >> memmove is used in a number of performance critical places, like copying the >> linux kernel from nor flash to ram, so optimizing it can be interesting. >> >> Unfortunately, an arch specific version of memmove often isn't used, and >> not su

Re: [U-Boot] [PATCH] lib/string: memmove: use memcpy if it is safe to do so

2011-10-28 Thread Wolfgang Denk
Dear Peter Korsgaard, In message <1319789046-17715-1-git-send-email-jac...@sunsite.dk> you wrote: > memmove is used in a number of performance critical places, like copying the > linux kernel from nor flash to ram, so optimizing it can be interesting. > > Unfortunately, an arch specific version o

[U-Boot] [PATCH] lib/string: memmove: use memcpy if it is safe to do so

2011-10-28 Thread Peter Korsgaard
memmove is used in a number of performance critical places, like copying the linux kernel from nor flash to ram, so optimizing it can be interesting. Unfortunately, an arch specific version of memmove often isn't used, and not supported at all on a number of archs (arm/mips/nds32/nios2/x86) - But