summaryrefslogtreecommitdiff
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
parentdd5905de03bd2b08ee9ea596e4b0925e2cd940c0 (diff)
downloadglibc-29d92a8edabed7a1e062fc301bb127d734ec0c45.tar.gz
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.
-rw-r--r--ChangeLog5
-rw-r--r--benchtests/bench-memcpy-random.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b6425393b..24908d0e21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
+
+ * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
+ (IMPL) Call with 1 instead of 0 as argument.
+
2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
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