about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/multiarch/Makefile
diff options
context:
space:
mode:
authorVidya Ranganathan <vidya@linux.vnet.ibm.com>2014-06-06 07:56:07 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-06-11 08:39:31 -0500
commite23d3d2690bf63207b1a47e83a94693daebbbfe5 (patch)
treeb86d2c14cb30a5a48d0729700cea3012ebcb87f6 /sysdeps/powerpc/powerpc64/multiarch/Makefile
parent42b1161e8c45df468d1696b43a7820c3ffe29da1 (diff)
downloadglibc-e23d3d2690bf63207b1a47e83a94693daebbbfe5.tar.gz
glibc-e23d3d2690bf63207b1a47e83a94693daebbbfe5.tar.xz
glibc-e23d3d2690bf63207b1a47e83a94693daebbbfe5.zip
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.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/Makefile')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/Makefile b/sysdeps/powerpc/powerpc64/multiarch/Makefile
index 35020a7b4c..05744e9081 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/Makefile
+++ b/sysdeps/powerpc/powerpc64/multiarch/Makefile
@@ -17,7 +17,7 @@ sysdep_routines += memcpy-power7 memcpy-a2 memcpy-power6 memcpy-cell \
 		   strrchr-power7 strrchr-ppc64 strncat-power7 strncat-ppc64 \
 		   strspn-power7 strspn-ppc64 strcspn-power7 strcspn-ppc64 \
 		   strpbrk-power7 strpbrk-ppc64 strncpy-power7 strncpy-ppc64 \
-		   stpncpy-power7 stpncpy-ppc64
+		   stpncpy-power7 stpncpy-ppc64 strcmp-power7 strcmp-ppc64
 
 CFLAGS-strncase-power7.c += -mcpu=power7 -funroll-loops
 CFLAGS-strncase_l-power7.c += -mcpu=power7 -funroll-loops