]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Import latest memcpy()/memmove() implementation
authorRobin Murphy <robin.murphy@arm.com>
Thu, 27 May 2021 15:34:46 +0000 (16:34 +0100)
committerWill Deacon <will@kernel.org>
Tue, 1 Jun 2021 17:34:38 +0000 (18:34 +0100)
commitae36a2195afdc8c187f5cfd025733e51b1a94664
tree21f5c3e9cb30a85bcb53363042ae5c8fc3ffc236
parent9fc2892ccb9c02fa2f199a98ddf7aa5ab5689576
arm64: Import latest memcpy()/memmove() implementation

Import the latest implementation of memcpy(), based on the
upstream code of string/aarch64/memcpy.S at commit afd6244 from
https://github.com/ARM-software/optimized-routines, and subsuming
memmove() in the process.

Note that for simplicity Arm have chosen to contribute this code
to Linux under GPLv2 rather than the original MIT license.

Note also that the needs of the usercopy routines vs. regular memcpy()
have now diverged so far that we abandon the shared template idea
and the damage which that incurred to the tuning of LDP/STP loops.
We'll be back to tackle those routines separately in future.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/3c953af43506581b2422f61952261e76949ba711.1622128527.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/lib/Makefile
arch/arm64/lib/memcpy.S
arch/arm64/lib/memmove.S [deleted file]