diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-04-07 08:27:12 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-04-25 04:57:38 -0700 |
commit | 949991ebad021731615795da35a83de18110c74a (patch) | |
tree | e2b3a2f21646acea023f9f8c3b8fc2499c0d618a | |
parent | a5507dfa60a8b92ba52dadabea88e2b5d91da655 (diff) | |
download | glibc-hjl/erms/nt.zip glibc-hjl/erms/nt.tar.gz glibc-hjl/erms/nt.tar.bz2 |
Skip simple and builtin memory implementationshjl/erms/nt
-rw-r--r-- | benchtests/bench-memcpy.c | 2 | ||||
-rw-r--r-- | benchtests/bench-memmove.c | 2 | ||||
-rw-r--r-- | benchtests/bench-memset.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/benchtests/bench-memcpy.c b/benchtests/bench-memcpy.c index c5a7192..001fcf1 100644 --- a/benchtests/bench-memcpy.c +++ b/benchtests/bench-memcpy.c @@ -26,8 +26,10 @@ char *simple_memcpy (char *, const char *, size_t); char *builtin_memcpy (char *, const char *, size_t); +#if 0 IMPL (simple_memcpy, 0) IMPL (builtin_memcpy, 0) +#endif IMPL (memcpy, 1) char * diff --git a/benchtests/bench-memmove.c b/benchtests/bench-memmove.c index c38596b..64ca7d0 100644 --- a/benchtests/bench-memmove.c +++ b/benchtests/bench-memmove.c @@ -41,7 +41,9 @@ simple_bcopy (const char *src, char *dst, size_t n) #else typedef char *(*proto_t) (char *, const char *, size_t); +#if 0 IMPL (simple_memmove, 0) +#endif IMPL (memmove, 1) #endif diff --git a/benchtests/bench-memset.c b/benchtests/bench-memset.c index 98ec257..bd90659 100644 --- a/benchtests/bench-memset.c +++ b/benchtests/bench-memset.c @@ -67,11 +67,13 @@ builtin_bzero (char *s, size_t n) #else typedef CHAR *(*proto_t) (CHAR *, int, size_t); +#if 0 IMPL (SIMPLE_MEMSET, 0) # ifndef WIDE char *builtin_memset (char *, int, size_t); IMPL (builtin_memset, 0) # endif /* !WIDE */ +#endif IMPL (MEMSET, 1) # ifndef WIDE |