diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-01-07 07:18:30 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-01-13 11:28:58 -0500 |
commit | 8bedcb5f03c62bf6001396dafdd82fbd4da7c2db (patch) | |
tree | 436c29346cd848224d7adee415d8e78cc4409915 /sysdeps/powerpc/powerpc64/multiarch/Makefile | |
parent | f06a4faf8a2b4d046eb40e94b47948cc47d79902 (diff) | |
download | glibc-8bedcb5f03c62bf6001396dafdd82fbd4da7c2db.tar glibc-8bedcb5f03c62bf6001396dafdd82fbd4da7c2db.tar.gz glibc-8bedcb5f03c62bf6001396dafdd82fbd4da7c2db.tar.bz2 glibc-8bedcb5f03c62bf6001396dafdd82fbd4da7c2db.zip |
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
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/Makefile')
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/Makefile b/sysdeps/powerpc/powerpc64/multiarch/Makefile index 18d337843c..ec4fca7c59 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/Makefile +++ b/sysdeps/powerpc/powerpc64/multiarch/Makefile @@ -18,7 +18,7 @@ sysdep_routines += memcpy-power7 memcpy-a2 memcpy-power6 memcpy-cell \ strrchr-power7 strrchr-ppc64 strncat-power7 strncat-ppc64 \ strncpy-power7 strncpy-ppc64 \ stpncpy-power8 stpncpy-power7 stpncpy-ppc64 \ - strcmp-power7 strcmp-ppc64 \ + strcmp-power8 strcmp-power7 strcmp-ppc64 \ strcat-power8 strcat-power7 strcat-ppc64 memmove-power7 \ memmove-ppc64 bcopy-ppc64 strncpy-power8 |