]> git.ipfire.org Git - thirdparty/glibc.git/commit
PowerPC: Optimized strcmp for PPC64/POWER7
authorVidya Ranganathan <vidya@linux.vnet.ibm.com>
Fri, 6 Jun 2014 12:56:07 +0000 (07:56 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Wed, 11 Jun 2014 13:50:31 +0000 (08:50 -0500)
commit2289a56644fc05786e2d5637c76d47afea7d38b9
treef4a317ba64ec9ab4aae60fa274a67766c0b2a0ee
parent010c023685495f4cd907b7bf7d15375edcbe1ead
PowerPC: Optimized strcmp for PPC64/POWER7

Optimization is achieved on 8 byte aligned strings with double word
comparison using cmpb instruction. On unaligned strings loop unrolling
is applied for Power7 gain.

It is a backport of e23d3d2690bf63207b1a47e83a94693daebbbfe5.
ChangeLog
sysdeps/powerpc/powerpc64/multiarch/Makefile
sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/multiarch/strcmp.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/power7/strcmp.S [new file with mode: 0644]