]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
PowerPC: strcpy/stpcpy optimization for PPC64/POWER7
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Thu, 26 Sep 2013 14:29:19 +0000 (09:29 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 25 Oct 2013 18:28:24 +0000 (13:28 -0500)
commit69f13dbf06c6195de0ada8632271d58ca3cf55da
treec2611636127f33fdc43bb51a6ac0f2f97795136c
parent151659f6371ce39a488fd132a5c8ce5e3bba983c
PowerPC: strcpy/stpcpy optimization for PPC64/POWER7

This patch intends to unify both strcpy and stpcpy implementationsi
for PPC64 and PPC64/POWER7. The idead default powerpc64 implementation
is to provide both doubleword and word aligned memory access.

For PPC64/POWER7 is also provide doubleword and word memory access,
remove the branch hints, use the cmpb instruction for compare
doubleword/words, and add an optimization for inputs of same alignment.
ChangeLog
sysdeps/powerpc/powerpc64/power7/stpcpy.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/power7/strcpy.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/stpcpy.S
sysdeps/powerpc/powerpc64/strcpy.S