[PATCH 4/6] ARM: zImage: gather some string functions into string.c

Nicolas Pitre nicolas.pitre at linaro.org
Wed Sep 14 10:43:06 EDT 2011


On Wed, 14 Sep 2011, Dave Martin wrote:

> On Wed, Sep 14, 2011 at 09:45:00AM -0400, Nicolas Pitre wrote:
> > On Wed, 14 Sep 2011, Dave Martin wrote:
> > 
> > > Have you seen this?
> > > http://en.wikipedia.org/wiki/Duff%27s_device
> > 
> > Yeah... I did stumble across something similar in the gcc test suite.
> > 
> > > Once I finished vomiting, this actually struck be as rather neat.
> > > 
> > > If I've understood right, it seems a good fit for the manual unrolling
> > > you do here.
> > 
> > Maybe.  However this patch is about moving code, not "improving" it.  ;-)
> 
> Fair enough -- it was really just a side-comment rather than an issue
> with the patch.

Might be worth investigating separately though.


Nicolas



More information about the linux-arm-kernel mailing list