aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc64/multiarch/memset-power6.S
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-07-15 16:54:46 -0400
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-09-10 07:39:46 -0400
commit3b473fecdf4c52989cd915b649bb6d26c042d048 (patch)
tree5740a9d1e348b841ad84ba2c9d8f1987e98c0235 /sysdeps/powerpc/powerpc64/multiarch/memset-power6.S
parente6fb95871cd3557e5882a6f969c11bc6a3cbe781 (diff)
downloadglibc-3b473fecdf4c52989cd915b649bb6d26c042d048.zip
glibc-3b473fecdf4c52989cd915b649bb6d26c042d048.tar.gz
glibc-3b473fecdf4c52989cd915b649bb6d26c042d048.tar.bz2
PowerPC: multiarch bzero cleanup for PPC64
This patch cleanups the multiarch bzero for powerpc64 by remove the multiarch objects and use instead the the memset embedded implementation presented in each multiarch optimization. The code generate is essentially the same, but the TB_TOCLESS (which is not essential).
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/memset-power6.S')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/memset-power6.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/memset-power6.S b/sysdeps/powerpc/powerpc64/multiarch/memset-power6.S
index 65519b9..3dc199c 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/memset-power6.S
+++ b/sysdeps/powerpc/powerpc64/multiarch/memset-power6.S
@@ -37,5 +37,7 @@
#undef libc_hidden_builtin_def
#define libc_hidden_builtin_def(name)
-#define NO_BZERO_IMPL
+#undef __bzero
+#define __bzero __bzero_power6
+
#include <sysdeps/powerpc/powerpc64/power6/memset.S>