Re: [PATCH] uboot optimize memmove

2013-07-26 Thread Wolfgang Denk
Dear Andy Green, In message you wrote: > > > Instead of making assumptions on the performance of memcpy() and > > As I wrote, I measured the performance and got a very big gain, it's > 3x faster on my setup to use memcpy() then default memmove(). Yes, in your single test case of copying a Lin

Re: [PATCH] uboot optimize memmove

2013-07-26 Thread Andy Green
On 26 July 2013 20:58, Wolfgang Denk wrote: > Dear Andy Green, > > In message <20130726065323.27333.82421.stgit@localhost.localdomain> you wrote: >> While studying the reason why kernel copy from NOR was so slow on our >> platform, >> I realized U-Boot is pulling it from 32-bit NOR in 8-bit chunk

Re: [PATCH] uboot optimize memmove

2013-07-26 Thread Wolfgang Denk
Dear Andy Green, In message <20130726065323.27333.82421.stgit@localhost.localdomain> you wrote: > While studying the reason why kernel copy from NOR was so slow on our > platform, > I realized U-Boot is pulling it from 32-bit NOR in 8-bit chunks needlessly. > > bootm uses memmove() and that just