aboutsummaryrefslogtreecommitdiff
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.zip
glibc-29d92a8edabed7a1e062fc301bb127d734ec0c45.tar.gz
glibc-29d92a8edabed7a1e062fc301bb127d734ec0c45.tar.bz2
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 9b64253..24908d0 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 4cd6209..9ae925e 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