diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2009-07-02 03:39:03 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-07-02 03:39:03 -0700 |
commit | ab6a873fe07b8ded403bc5a5ca73be5d04820d61 (patch) | |
tree | 82c30accc8655738ef1831579a1d3c1e93270cf2 /ChangeLog | |
parent | 6cbbaa50aac809ad6e0692247876c82d58e466bf (diff) | |
download | glibc-ab6a873fe07b8ded403bc5a5ca73be5d04820d61.tar.gz glibc-ab6a873fe07b8ded403bc5a5ca73be5d04820d61.tar.xz glibc-ab6a873fe07b8ded403bc5a5ca73be5d04820d61.zip |
SSSE3 strcpy/stpcpy for x86-64
This patch adds SSSE3 strcpy/stpcpy. I got up to 4X speed up on Core 2 and Core i7. I disabled it on Atom since SSSE3 version is slower for shorter (<64byte) data.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 4700e7d7b3..b3c403dc16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2009-06-30 H.J. Lu <hongjiu.lu@intel.com> + + * string/stpncpy.c (STPNCPY): New. Defined if not defined. + (__stpncpy): Renamed to ... + (STPNCPY): This. + (stpncpy): Create alias only if STPNCPY is not defined. + * string/strncpy.c (STRNCPY): New. Defined to strncpy if not + defined. + (strncpy): Renamed to ... + (STRNCPY): This. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + stpncpy-c strncpy-c for string. + * sysdeps/x86_64/multiarch/stpcpy.S: New file. + * sysdeps/x86_64/multiarch/stpncpy-c.c: New file. + * sysdeps/x86_64/multiarch/stpncpy.S: New file. + * sysdeps/x86_64/multiarch/strcpy.S: New file. + * sysdeps/x86_64/multiarch/strncpy-c.c: New file. + * sysdeps/x86_64/multiarch/strncpy.S: New file. + 2009-07-02 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Add full barrier when |