powerpc: Optimized strcmp for POWER8/PPC64
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Wed, 7 Jan 2015 12:18:30 +0000 (07:18 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 13 Jan 2015 16:28:58 +0000 (11:28 -0500)
commit8bedcb5f03c62bf6001396dafdd82fbd4da7c2db
tree436c29346cd848224d7adee415d8e78cc4409915
parentf06a4faf8a2b4d046eb40e94b47948cc47d79902
powerpc: Optimized strcmp for POWER8/PPC64

This patch adds an optimized POWER8 strcmp using unaligned accesses.
The algorithm first check the initial 16 bytes, then align the first
function source and uses unaligned loads on second argument only.
Aditional checks for page boundaries are done for unaligned cases
ChangeLog
NEWS
sysdeps/powerpc/powerpc64/multiarch/Makefile
sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/multiarch/strcmp.c
sysdeps/powerpc/powerpc64/power8/strcmp.S [new file with mode: 0644]