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 08:13:42 -0700 |
commit | d735cfff69d94383a8991ebb9e8c2b10c5b527bc (patch) | |
tree | 8b987b04c12a6489096c381fbfee1e1614bb9313 | |
parent | 0d9d7bc875a16911be7a93acdf7999c0023761ea (diff) | |
download | glibc-hjl/cacheline/master.zip glibc-hjl/cacheline/master.tar.gz glibc-hjl/cacheline/master.tar.bz2 |
Skip simple and builtin memory implementationshjl/cacheline/master
-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 |