]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
aarch64: Call all string function implementations in tests
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 30 Jun 2017 17:27:12 +0000 (22:57 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 30 Jun 2017 17:27:12 +0000 (22:57 +0530)
The string function implementations implemented so far do not use any
instructions that may deviate from standard aarch64, so it is possible
for all routines to run on all armv8 hardware.  Select all
implementations in the benchmarks and tests.

* sysdeps/aarch64/multiarch/ifunc-impl-list.c
(__libc_ifunc_impl_list): Unconditionally select thunderx
routine for testing.

ChangeLog
sysdeps/aarch64/multiarch/ifunc-impl-list.c

index 4919c9d5978a4074261893dbec950192cc089c45..a95505220d18baac26b740a7b8dcaa2cf814bb39 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-06-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * sysdeps/aarch64/multiarch/ifunc-impl-list.c
+       (__libc_ifunc_impl_list): Unconditionally select thunderx
+       routine for testing.
+
 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #21120]
index c4f23dfb8726750f6773d37c521dd1da311c180b..32056bcec3b660f29245d379143e40948a2a2cdf 100644 (file)
@@ -39,12 +39,10 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array,
 
   /* Support sysdeps/aarch64/multiarch/memcpy.c and memmove.c.  */
   IFUNC_IMPL (i, name, memcpy,
-             IFUNC_IMPL_ADD (array, i, memcpy, IS_THUNDERX (midr),
-                             __memcpy_thunderx)
+             IFUNC_IMPL_ADD (array, i, memcpy, 1, __memcpy_thunderx)
              IFUNC_IMPL_ADD (array, i, memcpy, 1, __memcpy_generic))
   IFUNC_IMPL (i, name, memmove,
-             IFUNC_IMPL_ADD (array, i, memmove, IS_THUNDERX (midr),
-                             __memmove_thunderx)
+             IFUNC_IMPL_ADD (array, i, memmove, 1, __memmove_thunderx)
              IFUNC_IMPL_ADD (array, i, memmove, 1, __memmove_generic))
 
   return i;