From 068fc72f804ef972a35f06b06b049a84db1ce6a7 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 1 May 2016 23:21:27 +0200 Subject: Benchmarking stuff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- bench/benchmark.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bench/benchmark.c') diff --git a/bench/benchmark.c b/bench/benchmark.c index 29bdb55..1404d93 100644 --- a/bench/benchmark.c +++ b/bench/benchmark.c @@ -71,6 +71,7 @@ main(int argc, char *argv[]) BENCHMARK(zcmpmag(a, b), 1); BENCHMARK(zcmp(a, b), 1); BENCHMARK(zcmpi(a, 1000000000LL), 1); + BENCHMARK(zcmpi(a, -1000000000LL), 1); BENCHMARK(zcmpu(a, 1000000000ULL), 1); BENCHMARK(zbset(c, a, 76, 1), 1); BENCHMARK(zbset(a, a, 76, 1), 1); @@ -105,6 +106,7 @@ main(int argc, char *argv[]) BENCHMARK(zstr(a, buf, sizeof(buf) - 1), 0); BENCHMARK(zrand(c, DEFAULT_RANDOM, QUASIUNIFORM, a), 0); BENCHMARK(zrand(c, DEFAULT_RANDOM, UNIFORM, a), 0); + BENCHMARK(zrand(c, DEFAULT_RANDOM, MODUNIFORM, a), 0); BENCHMARK(zptest(d, a, 5), 0); BENCHMARK(zsave(a, buf), 1); BENCHMARK(zload(a, buf), 1); -- cgit v1.2.3-70-g09d2