aboutsummaryrefslogtreecommitdiffstats
path: root/bench/benchmark-func.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-04-24 15:29:35 +0200
committerMattias Andrée <maandree@kth.se>2016-04-24 15:29:40 +0200
commit8391d3a355825c12b6a4634b0f1c71258b719243 (patch)
tree0a09a72227b4e0b616ae83744c4bb59ce938160b /bench/benchmark-func.c
parentbench/benchmark-func.c: add support for more functions (diff)
downloadlibzahl-8391d3a355825c12b6a4634b0f1c71258b719243.tar.gz
libzahl-8391d3a355825c12b6a4634b0f1c71258b719243.tar.bz2
libzahl-8391d3a355825c12b6a4634b0f1c71258b719243.tar.xz
Add more functions to benchmark-func
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--bench/benchmark-func.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bench/benchmark-func.c b/bench/benchmark-func.c
index 2acd9f8..e5fb08b 100644
--- a/bench/benchmark-func.c
+++ b/bench/benchmark-func.c
@@ -178,11 +178,11 @@ FUNCTION_2D(bench_zptest, zptest(temp, *a, 5),)
FUNCTION_2D(bench_zsets, zsets(temp, buf), zstr(*a, buf))
FUNCTION_2D(bench_zlsh, zlsh(temp, *a, 1),)
FUNCTION_2D(bench_zrsh, zrsh(temp, *a, 1),)
+FUNCTION_2D(bench_ztrunc, ztrunc(temp, *a, i / 2),)
+FUNCTION_2D(bench_self_ztrunc, ztrunc(*a, *a, i),)
+FUNCTION_2D(bench_zsplit, zsplit(temp, temp2, *a, i / 2),)
/* TODO
- ztrunc
- self_ztrunc
- zsplit
zgcd
zpow
zpowu