u-boot-brain/arch/arm/include/asm
Matthias Weisser d8834a1323 arm: Use optimized memcpy and memset from linux
Using optimized versions of memset and memcpy from linux brings a quite
noticeable speed (x2 or better) improvement for these two functions.

Here are some numbers for test done with jadecpu

                           | HEAD(1)| HEAD(1)| HEAD(2)| HEAD(2)|
                           |        | +patch |        | +patch |
---------------------------+--------+--------+--------+--------+
Reset to prompt            |  438ms |  330ms |  228ms |  120ms |
                           |        |        |        |        |
TFTP a 3MB img             | 4782ms | 3428ms | 3245ms | 2820ms |
                           |        |        |        |        |
FATLOAD USB a 3MB img*     | 8515ms | 8510ms | ------ | ------ |
                           |        |        |        |        |
BOOTM LZO img in RAM       | 3473ms | 3168ms |  592ms |  592ms |
 where CRC is              |  615ms |  615ms |   54ms |   54ms |
 uncompress                | 2460ms | 2462ms |  450ms |  451ms |
 final boot_elf            |  376ms |   68ms |   65ms |   65ms |
                           |        |        |        |        |
BOOTM LZO img in FLASH     | 3207ms | 2902ms | 1050ms | 1050ms |
 where CRC is              |  600ms |  600ms |  135ms |  135ms |
 uncompress                | 2209ms | 2211ms |  828ms |  828ms |
                           |        |        |        |        |
Copy 1.4MB from NOR to RAM |  134ms |   72ms |  120ms |   70ms |

(1) No dcache
(2) dcache enabled in board_init
*Does not work when dcache is on

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
222712  u-boot.bin

Signed-off-by: Matthias Weisser <weisserm@arcor.de>
2011-04-27 19:38:07 +02:00
..
arch-a320 ftpmu010: support faraday ftpmu010 driver 2011-01-25 22:18:57 +01:00
arch-arm720t Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-armada100 mv: seperate kirkwood and armada from common setting 2011-02-21 08:30:55 +01:00
arch-armv7 ARMV7: Versatile Express Coretile CortexA9x4 support 2010-10-13 09:59:39 +02:00
arch-at91 AT91RM9200: fix AT91_PMC_MCKR_MDIV_* defines for this CPU 2010-12-17 09:25:43 +01:00
arch-at91rm9200 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-davinci DaVinci DM6467: Enhance board Support 2011-02-02 00:54:44 +01:00
arch-ep93xx Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-imx Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-ixp Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-kirkwood mv: seperate kirkwood and armada from common setting 2011-02-21 08:30:55 +01:00
arch-ks8695 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-lpc2292 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-mb86r0x ARM: Add support for MB86R0x SoCs 2010-08-10 23:13:28 +02:00
arch-mx5 SPI: mxc_spi: replace fixed offsets with structures 2011-02-02 00:54:43 +01:00
arch-mx25 imx: Get fec mac address from fuse 2010-11-21 18:24:20 +01:00
arch-mx27 imx: Get fec mac address from fuse 2010-11-21 18:24:20 +01:00
arch-mx31 MX31: drop warnings in get_cpu_rev 2011-04-27 19:38:05 +02:00
arch-mx35 SPI: mxc_spi: replace fixed offsets with structures 2011-02-02 00:54:43 +01:00
arch-nomadik Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-omap3 OMAP3: BeagleBoard: Enable pullups on i2c2. 2011-04-27 19:38:06 +02:00
arch-omap4 ARMV7: OMAP: Add new mmc driver compatible with CONFIG_GENERIC_MMC 2010-10-17 20:14:10 +02:00
arch-omap24xx arch/arm/include/asm/sizes.h: cleanups 2010-10-13 09:59:33 +02:00
arch-orion5x orion5x: fix relocation-incompatible code 2010-10-11 14:35:45 +02:00
arch-pantheon mvmfp: add MFP configuration support for PANTHEON 2011-02-21 08:30:55 +01:00
arch-pxa arm/pxa: remove unused arch-pxa/macro.h 2010-10-27 23:59:53 +02:00
arch-s3c24x0 Add generic support for samsung s3c2440 2010-10-28 15:35:56 +09:00
arch-s3c44b0 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-s3c64xx Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-s3c4510b Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-s5pc1xx ARMV7: S5P: Fixed register offset in mmc.h 2011-03-27 19:20:21 +02:00
arch-s5pc2xx ARMV7: S5P: Fixed register offset in mmc.h 2011-03-27 19:20:21 +02:00
arch-sa1100 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-spear Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-tegra2 arm: Tegra2: Add basic NVIDIA Tegra2 SoC support 2011-02-21 08:30:54 +01:00
arch-tnetv107x ARM1176: TI: TNETV107X soc initial support 2010-06-08 10:07:17 -05:00
proc-armv Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
assembler.h arm: Use optimized memcpy and memset from linux 2011-04-27 19:38:07 +02:00
atomic.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
bitops.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
byteorder.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
cache.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
config.h Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC 2010-10-29 21:32:07 +02:00
dma-mapping.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
errno.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
global_data.h ARM: make timer variables in gt_t available for all ARM platforms 2010-12-09 11:01:16 +01:00
hardware.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
io.h ARM: fix write*() I/O accessors 2011-02-21 08:30:55 +01:00
mach-types.h ARM: Update mach-types 2011-02-21 08:30:55 +01:00
macro.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
memory.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
posix_types.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
processor.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
ptrace.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
setup.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
sizes.h arch/arm/include/asm/sizes.h: cleanups 2010-10-13 09:59:33 +02:00
string.h arm: Use optimized memcpy and memset from linux 2011-04-27 19:38:07 +02:00
system.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
types.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
u-boot-arm.h arm: fix incorrect monitor protection region in FLASH 2011-03-27 19:18:52 +02:00
u-boot.h arm: get rid of bi_env 2010-09-19 19:29:50 +02:00
unaligned.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00