From: Wolfgang Denk Date: Sun, 06 Jul 2008 00:32:02 +0200 Subject: [U-Boot-Users] [PATCH] mips: Bring over optimized memset() routine from Linux. In-Reply-To: Your message of "Wed, 04 Jun 2008 15:44:22 EDT." <20080604194815.A02FD6E7BD@mcmullan-linux.hq.netapp.com> Message-ID: <20080705223202.9594224681@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 In message <20080604194815.A02FD6E7BD@mcmullan-linux.hq.netapp.com> you wrote: > This commit pulls over the memset() MIPS routine from Linux 2.6.26, > which provides a 10x to 20x speedup over the generic byte-at-a-time > routine. This is especially useful on platforms with manual ECC > scrubbing, that require all of memory to be written at least once > after a power cycle. > --- > include/asm-mips/string.h | 2 +- > lib_mips/Makefile | 2 +- > lib_mips/memset.S | 174 +++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 176 insertions(+), 2 deletions(-) > create mode 100644 lib_mips/memset.S Shinya Kuribayashi asked some questions about your patch, which you did not answer (as far as I can tell). Do you intend to comment on the questions and/or submit a cleaned up version of the patch? 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 "You can have my Unix system when you pry it from my cold, dead fingers." - Cal Keegan