about summary refs log tree commit diff
path: root/benchtests/bench-memcpy-random.c
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@caviumnetworks.com>2017-03-28 09:07:03 -0700
committerSteve Ellcey <sellcey@caviumnetworks.com>2017-03-28 09:07:03 -0700
commit29d92a8edabed7a1e062fc301bb127d734ec0c45 (patch)
treeb2e254b505acb500dcfe0fbdca1233459ff36fbd /benchtests/bench-memcpy-random.c
parentdd5905de03bd2b08ee9ea596e4b0925e2cd940c0 (diff)
downloadglibc-29d92a8edabed7a1e062fc301bb127d734ec0c45.tar.gz
glibc-29d92a8edabed7a1e062fc301bb127d734ec0c45.tar.xz
glibc-29d92a8edabed7a1e062fc301bb127d734ec0c45.zip
Change TEST_NAME to memcpy to fix IFUNC testing of multiple versions.
	* benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
	(IMPL) Call with 1 instead of 0 as argument.
Diffstat (limited to 'benchtests/bench-memcpy-random.c')
-rw-r--r--benchtests/bench-memcpy-random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchtests/bench-memcpy-random.c b/benchtests/bench-memcpy-random.c
index 4cd620966d..9ae925e935 100644
--- a/benchtests/bench-memcpy-random.c
+++ b/benchtests/bench-memcpy-random.c
@@ -18,11 +18,11 @@
 
 #define MIN_PAGE_SIZE 131072
 #define TEST_MAIN
-#define TEST_NAME "memcpy-random"
+#define TEST_NAME "memcpy"
 #include "bench-string.h"
 #include <assert.h>
 
-IMPL (memcpy, 0)
+IMPL (memcpy, 1)
 
 #define NUM_COPIES 4096