[U-Boot] [PATCH] arm: Use optimized memcpy and memset from linux

Wolfgang Denk wd at denx.de
Mon Jan 24 17:13:38 CET 2011


Dear Matthias Weisser,

In message <1295884607-9044-1-git-send-email-weisserm at arcor.de> you wrote:
> Using optimized versions of memset and memcpy from linux brings a quite
> noticeable speed (x2 or better) improvement for these two functions.
> 
> Size impact:
> 
> C version:
>    text    data     bss     dec     hex filename
>  202862   18912  266456  488230   77326 u-boot
> 
> ASM version:
>    text    data     bss     dec     hex filename
>  203798   18912  266288  488998   77626 u-boot

How exactly did you measure the speed improvement?

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: wd at denx.de
Real programmers can write assembly code in any language.   :-)
                      - Larry Wall in  <8571 at jpl-devvax.JPL.NASA.GOV>


More information about the U-Boot mailing list