Dear Joakim Tjernlund, In message <[email protected]> you wrote: > This patch optimizes the direct copy procedure. > Uses get_unaligned() but only in one place. > The copy loop just above this one can also use this > optimization, but I havn't done so as I have not tested if it > is a win there too. > On my MPC8321 this is about 17% faster on my JFFS2 root FS > than the original. No speed test has been performed in u-boot. > > Size increase on ppc: 484 bytes > > Signed-off-by: Joakim Tjernlund <[email protected]> > --- > > I have the same optimization queued for linux. Figured it > would be useful for u-boot too. > > Testing and feedback welcome. > > lib_generic/zlib.c | 56 ++++++++++++++++++++++++++++++++++++++++----------- > 1 files changed, 44 insertions(+), 12 deletions(-)
Applied to "next", thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] I don't mind criticism. You know me. I've never been one to take offence at criticism. No one could say I'm the sort to take offence at criticism -- Not twice, anyway. Not without blowing bubbles. - Terry Pratchett, _Witches Abroad_ _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

