]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/CompilerIntrinsicsLib: Make __aeabi_memcpy the same as memcpy
authorOlivier Martin <olivier.martin@arm.com>
Wed, 15 Jan 2014 12:24:31 +0000 (12:24 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 15 Jan 2014 12:24:31 +0000 (12:24 +0000)
commitcf9530e6864f87e58c1c65b5a1198586700f7182
treed413a5221b97bf6867b983a4443cc6374f463cef
parent92720fe9c9c42a3a8e32958f53f7bf10c0679e06
ArmPkg/CompilerIntrinsicsLib: Make __aeabi_memcpy the same as memcpy

This code also removed some redundant instructions.

__aeabi_memcpy doesn't require preservation of r0 (as memcpy does),
which could save a push, but the code has been left to keep things consistent.

The reason __aeabi_memcpy has been added to the .S file is so it will be available
to toolchains that use the GCC assembler but the full ARM EABI (i.e. current LLVM)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15124 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/CompilerIntrinsicsLib/Arm/memcpy.S
ArmPkg/Library/CompilerIntrinsicsLib/Arm/memcpy.asm