diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-03-07 06:09:47 -0600 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-03-10 07:25:09 -0500 |
commit | ba9cc0714e58a9e8fa73cf6b0e205cbf1e6b71f2 (patch) | |
tree | f22f21e3972b49599186258fb2e748af8405a880 /sysdeps/powerpc/powerpc64/multiarch/Makefile | |
parent | 8b4ff97413fc32ea7f817586bc682ff2cc34527b (diff) | |
download | glibc-ba9cc0714e58a9e8fa73cf6b0e205cbf1e6b71f2.tar.gz glibc-ba9cc0714e58a9e8fa73cf6b0e205cbf1e6b71f2.tar.xz glibc-ba9cc0714e58a9e8fa73cf6b0e205cbf1e6b71f2.zip |
PowerPC: strncat optimization for PPC64
The optimization is achieved by following techniques: 1. Doubleword aligned memory access and compares using cmpb instruction. 2. Loop unrolling for byte load/store. 3. CPU pre-fetch to avoid cache miss.
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 d09f2e3e5d..a03569ec80 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/Makefile +++ b/sysdeps/powerpc/powerpc64/multiarch/Makefile @@ -14,7 +14,7 @@ sysdep_routines += memcpy-power7 memcpy-a2 memcpy-power6 memcpy-cell \ wcsrchr-ppc64 wcscpy-power7 wcscpy-power6 wcscpy-ppc64 \ wordcopy-power7 wordcopy-power6 wordcopy-ppc64 \ strcpy-power7 strcpy-ppc64 stpcpy-power7 stpcpy-ppc64 \ - strrchr-power7 strrchr-ppc64 + strrchr-power7 strrchr-ppc64 strncat-power7 strncat-ppc64 CFLAGS-strncase-power7.c += -mcpu=power7 -funroll-loops CFLAGS-strncase_l-power7.c += -mcpu=power7 -funroll-loops |