From 92e3664bb597c61c581d02c833729d484de726ad Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Mon, 1 Apr 2013 14:45:54 +0530 Subject: Add benchmark inputs for sin --- benchtests/Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'benchtests/Makefile') diff --git a/benchtests/Makefile b/benchtests/Makefile index b3dfbff971..751694aee5 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -45,7 +45,7 @@ # See pow-inputs for an example. subdir := benchtests -bench := exp pow rint slowexp slowpow +bench := exp pow rint sin slowexp slowpow slowsin # exp function fast path exp-ITER = 5e8 @@ -71,6 +71,12 @@ slowexp-RET = double slowexp-INCLUDE = slowexp.c LDFLAGS-bench-slowexp = -lm +# sin function fast path +sin-ITER = 3e9 +sin-ARGLIST = double +sin-RET = double +LDFLAGS-bench-sin = -lm + # pow function slowest path slowpow-ITER = 1e5 slowpow-ARGLIST = double:double @@ -78,5 +84,12 @@ slowpow-RET = double slowpow-INCLUDE = slowpow.c LDFLAGS-bench-slowpow = -lm +# sin function slowest path +slowsin-ITER = 3e7 +slowsin-ARGLIST = double +slowsin-RET = double +slowsin-INCLUDE = slowsin.c +LDFLAGS-bench-slowsin = -lm + include ../Makeconfig include ../Rules -- cgit 1.4.1