[U-Boot] [PATCH V2 1/3] memcpy: copy one word at a time if possible

Alessandro Rubini rubini-list at gnudd.com
Thu Oct 8 21:17:34 CEST 2009


> The statistics are going to be very different for different scenarios.

Yes, I know.

> For example, network operations seem to be the majority of your large
> memcpys, this isn't the case for everyone.

True. I noticed it after sending -- although I expected it.

> In any case, my only suggestion would be that if we're improving
> memcpy()/memset(), do the extra 10% of effort required to make them a
> little better.  That 10% of effort will improve 15.2% of all memcpy()
> calls for the foreseeable future:)

It mainly depends on Wolfgang but, hey, it's not 10% of effort.

> I promise I won't comment on future patches:)

No problem at all. And I apologize if my tone looked rude, it wasn't
meant to.  Thank you for your comments.

/alessandro, who didn't notice ppc has an asm implementation of its own


More information about the U-Boot mailing list