u-boot/arch
Stefan Roese dbf6b14e0a arm64: arch/arm/lib: Add optimized memset/memcpy/memmove functions
Ported from https://github.com/ARM-software/optimized-routines

These files are included from this repository, including the latest
git commit ID:
string/aarch64/memcpy.S: afd6244a1f8d
string/aarch64/memset.S: e823e3abf5f8
string/asmdefs.h: e823e3abf5f8

Note that memmove is also handled by the memcpy function.

Please note that when adding these optimized functions as default memset
memcpy functions in U-Boot, U-Boot fails to boot on the LX2160ARDB.
After the initial ATF output, no U-Boot output is shown on the serial
console. Some exception is triggered here in the very early boot process
as some of the assembler opcodes need the caches to be enabled.

Because of this, a follow-up patch will add a check to use a simple
non-optimized memset for the "cache disabled" case.

Note:
I also integrated and tested with the Linux versions of these optimized
functions. They are similar to the ones now integrated but these ARM
versions are still a small bit faster.

Signed-off-by: Stefan Roese <sr@denx.de>
2021-09-24 07:48:06 -04:00
..
arc lmb: Switch to generic arch_lmb_reserve_generic() 2021-09-23 14:15:32 -04:00
arm arm64: arch/arm/lib: Add optimized memset/memcpy/memmove functions 2021-09-24 07:48:06 -04:00
m68k lmb: Switch to generic arch_lmb_reserve_generic() 2021-09-23 14:15:32 -04:00
microblaze lmb: Switch to generic arch_lmb_reserve_generic() 2021-09-23 14:15:32 -04:00
mips arm: mediatek: merge board Kconfigs into mach-mediatek 2021-09-23 14:15:32 -04:00
nds32 lmb: nds32: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
nios2 lmb: nios2: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
powerpc lmb: Switch to generic arch_lmb_reserve_generic() 2021-09-23 14:15:32 -04:00
riscv lmb: riscv: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
sandbox sandbox: Add a way to map a file into memory 2021-09-16 13:19:25 -04:00
sh lmb: sh: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
x86 lmb: x86: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
xtensa lmb: xtensa: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
.gitignore
Kconfig Prepare v2021.10-rc4 2021-09-16 10:29:40 -04:00
u-boot-elf.lds