diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-12-13 14:49:54 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-12-13 14:49:54 -0500 |
commit | 372dc060e0a25044ba5a797c71fb0ee53921fe47 (patch) | |
tree | 915d6c37fac1ea46f1eefeecdf08a625fe283696 /sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c | |
parent | 24c2c3b99699b7cb7cc3c251d9bd504b2cde6a45 (diff) | |
download | glibc-372dc060e0a25044ba5a797c71fb0ee53921fe47.tar glibc-372dc060e0a25044ba5a797c71fb0ee53921fe47.tar.gz glibc-372dc060e0a25044ba5a797c71fb0ee53921fe47.tar.bz2 glibc-372dc060e0a25044ba5a797c71fb0ee53921fe47.zip |
PowerPC: multiarch strchr for PowerPC64
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c')
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c b/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c index d6b92dcfa3..a0294883d4 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c +++ b/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c @@ -86,6 +86,14 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array, __strncmp_power4) IFUNC_IMPL_ADD (array, i, strncmp, 1, __strncmp_ppc)) + + /* Support sysdeps/powerpc/powerpc64/multiarch/strchr.c. */ + IFUNC_IMPL (i, name, strchr, + IFUNC_IMPL_ADD (array, i, strchr, + hwcap & PPC_FEATURE_HAS_VSX, + __strchr_power7) + IFUNC_IMPL_ADD (array, i, strchr, 1, + __strchr_ppc)) #endif /* Support sysdeps/powerpc/powerpc64/multiarch/memcmp.c. */ |