SSSE3 strcpy/stpcpy for x86-64
commitab6a873fe07b8ded403bc5a5ca73be5d04820d61
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 2 Jul 2009 10:39:03 +0000 (2 03:39 -0700)
committerUlrich Drepper <drepper@redhat.com>
Thu, 2 Jul 2009 10:39:03 +0000 (2 03:39 -0700)
tree82c30accc8655738ef1831579a1d3c1e93270cf2
parent6cbbaa50aac809ad6e0692247876c82d58e466bf
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.
ChangeLog
string/stpncpy.c
string/strncpy.c
sysdeps/x86_64/multiarch/Makefile
sysdeps/x86_64/multiarch/stpcpy.S [new file with mode: 0644]
sysdeps/x86_64/multiarch/stpncpy-c.c [new file with mode: 0644]
sysdeps/x86_64/multiarch/stpncpy.S [new file with mode: 0644]
sysdeps/x86_64/multiarch/strcpy.S [new file with mode: 0644]
sysdeps/x86_64/multiarch/strncpy-c.c [new file with mode: 0644]
sysdeps/x86_64/multiarch/strncpy.S [new file with mode: 0644]