From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Date: Mon, 29 Jul 2013 10:28:02 +0200 Subject: [U-Boot] [PATCH] uboot optimize memmove In-Reply-To: References: <20130726065323.27333.82421.stgit@localhost.localdomain> <20130726125813.2527838319F@gemini.denx.de> Message-ID: <51F62792.1020908@de.bosch.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 26.07.2013 15:42, Andy Green wrote: > On 26 July 2013 20:58, Wolfgang Denk wrote: ... >> you not make sure that you provide optimized implementations for such >> functions and consequently #define __HAVE_ARCH_MEMMOVE (and >> __HAVE_ARCH_MEMCPY) ? > > Yes I found these afterwards... performance is slightly better than > memcpy() thanks to Nicolas Pitre it seems. The U-Boot config for the > platform we have didn't know about them, it's much better with them. > > After I wrote this patch it was also pointed out by Will Newton at > Linaro that we have Neon accelerated memcpy lying around with BSD > license.... > > https://launchpad.net/cortex-strings > > however for my purposes NOR boot is working good enough with the ARCH versions. I've had a look to https://launchpad.net/cortex-strings and there downloaded https://launchpad.net/cortex-strings/trunk/2013.01/+download/cortex-strings-1.0-2013.01.tar.bz2 (from the green download button on the right side). The README mentions src/neon contains NEON based routines for AArch32. but the cortex-strings-1.0-2013.01.tar.bz2 seems to contain an empty src/neon directory. Is this intended? Best regards Dirk