mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-03 04:01:43 +08:00
6fb8cbcb58
This patch includes optimized 64bit memcpy/memmove for Atom, Core 2 and Core i7. It improves memcpy by up to 3X on Atom, up to 4X on Core 2 and up to 1X on Core i7. It also improves memmove by up to 3X on Atom, up to 4X on Core 2 and up to 2X on Core i7.
8 lines
109 B
ArmAsm
8 lines
109 B
ArmAsm
#include <sysdep.h>
|
|
|
|
.text
|
|
ENTRY(bcopy)
|
|
xchg %rdi, %rsi
|
|
jmp HIDDEN_BUILTIN_JUMPTARGET(memmove)
|
|
END(bcopy)
|