From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Mon, 24 Jan 2011 17:13:38 +0100 Subject: [U-Boot] [PATCH] arm: Use optimized memcpy and memset from linux In-Reply-To: <1295884607-9044-1-git-send-email-weisserm@arcor.de> References: <1295884607-9044-1-git-send-email-weisserm@arcor.de> Message-ID: <20110124161338.B0345D42A89@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Matthias Weisser, In message <1295884607-9044-1-git-send-email-weisserm@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@jpl-devvax.JPL.NASA.GOV>