diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-06-30 08:26:11 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-06-30 08:26:11 -0700 |
commit | 6fb8cbcb58a29fff73eb2101b34caa19a7f88eba (patch) | |
tree | 3a39ddec3a6cf66f8541c6591dbe4017136580f0 /string | |
parent | d85f8ff66711fd3b1c5753330499c7403fa46d81 (diff) | |
download | glibc-6fb8cbcb58a29fff73eb2101b34caa19a7f88eba.tar.gz glibc-6fb8cbcb58a29fff73eb2101b34caa19a7f88eba.tar.xz glibc-6fb8cbcb58a29fff73eb2101b34caa19a7f88eba.zip |
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.
Diffstat (limited to 'string')
-rw-r--r-- | string/memmove.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/string/memmove.c b/string/memmove.c index 16671f7bb5..8e36e7c5a3 100644 --- a/string/memmove.c +++ b/string/memmove.c @@ -37,9 +37,12 @@ #define rettype void * #endif +#ifndef MEMMOVE +#define MEMMOVE memmove +#endif rettype -memmove (a1, a2, len) +MEMMOVE (a1, a2, len) a1const void *a1; a2const void *a2; size_t len; |