diff options
Diffstat (limited to 'benchtests/bench-memcpy-large.c')
-rw-r--r-- | benchtests/bench-memcpy-large.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/benchtests/bench-memcpy-large.c b/benchtests/bench-memcpy-large.c index 965edf5..1dea16f 100644 --- a/benchtests/bench-memcpy-large.c +++ b/benchtests/bench-memcpy-large.c @@ -39,26 +39,6 @@ do_one_test (json_ctx_t *json_ctx, impl_t *impl, char *dst, const char *src, size_t i, iters = 16; timing_t start, stop, cur; - /* Must clear the destination buffer updated by the previous run. */ - for (i = 0; i < len; i++) - dst[i] = 0; - - if (CALL (impl, dst, src, len) != MEMCPY_RESULT (dst, len)) - { - error (0, 0, "Wrong result in function %s %p %p", impl->name, - CALL (impl, dst, src, len), MEMCPY_RESULT (dst, len)); - ret = 1; - return; - } - - if (memcmp (dst, src, len) != 0) - { - error (0, 0, "Wrong result in function %s dst \"%s\" src \"%s\"", - impl->name, dst, src); - ret = 1; - return; - } - TIMING_NOW (start); for (i = 0; i < iters; ++i) { |