mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Improve 64bit memcpy/memmove for Atom, Core 2 and Core i7
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.
This commit is contained in:
@ -23,8 +23,12 @@
|
||||
#include <memcopy.h>
|
||||
#include <pagecopy.h>
|
||||
|
||||
#ifndef MEMMOVE_CHK
|
||||
# define MEMMOVE_CHK __memmove_chk
|
||||
#endif
|
||||
|
||||
void *
|
||||
__memmove_chk (dest, src, len, destlen)
|
||||
MEMMOVE_CHK (dest, src, len, destlen)
|
||||
void *dest;
|
||||
const void *src;
|
||||
size_t len;
|
||||
|
Reference in New Issue
Block a user