1
0
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:
H.J. Lu
2010-06-30 08:26:11 -07:00
committed by Ulrich Drepper
parent d85f8ff667
commit 6fb8cbcb58
21 changed files with 6681 additions and 10 deletions

View File

@ -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;