aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-07-08 08:35:44 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-07-08 09:16:09 -0500
commit91f4b564bd7bedcd93e7047cad570ce292d6330b (patch)
treebbc153fbfd8ca086eee3840c87d2298e24bd233c
parent7c33f1e52c7ed39416b24c894e61d39eabf6cd14 (diff)
downloadglibc-91f4b564bd7bedcd93e7047cad570ce292d6330b.zip
glibc-91f4b564bd7bedcd93e7047cad570ce292d6330b.tar.gz
glibc-91f4b564bd7bedcd93e7047cad570ce292d6330b.tar.bz2
PowerPC: Add ifunc tests for memmove
This patch add the missing ifunc tests definition for memmove ppc32 optimization patch (commit 07aedd7).
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f31a3d..67e8fe0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
+ (__libc_ifunc_impl_list): Add memmove functions.
+
2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
* localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
diff --git a/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c b/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
index 8ba6a80..38bf28e 100644
--- a/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
+++ b/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
@@ -59,6 +59,12 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array,
__memcpy_cell)
IFUNC_IMPL_ADD (array, i, memcpy, 1, __memcpy_ppc))
+ /* Support sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c. */
+ IFUNC_IMPL (i, name, memmove,
+ IFUNC_IMPL_ADD (array, i, memmove, hwcap & PPC_FEATURE_HAS_VSX,
+ __memmove_power7)
+ IFUNC_IMPL_ADD (array, i, memmove, 1, __memmove_ppc))
+
/* Support sysdeps/powerpc/powerpc32/power4/multiarch/memset.c. */
IFUNC_IMPL (i, name, memset,
IFUNC_IMPL_ADD (array, i, memset, hwcap & PPC_FEATURE_HAS_VSX,