From 051063c88b6e38f209c820977e1dcc909ec97421 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 23 Apr 2013 16:29:07 +0530 Subject: Add benchmark inputs for math functions Add benchmark inputs for inverse and hyperbolic trigonometric functions and log. --- benchtests/Makefile | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'benchtests/Makefile') diff --git a/benchtests/Makefile b/benchtests/Makefile index 913fe4d8f3..6c13c2ea3f 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -19,7 +19,8 @@ # Makefile for benchmark tests. The only useful target here is `bench`. subdir := benchtests -bench := exp pow rint sin cos tan atan modf +bench := exp pow log rint sin cos tan asin acos atan modf sinh cosh tanh \ + asinh acosh atanh exp-ARGLIST = double exp-RET = double @@ -29,6 +30,10 @@ pow-ARGLIST = double:double pow-RET = double LDFLAGS-bench-pow = -lm +log-ARGLIST = double +log-RET = double +LDFLAGS-bench-log = -lm + rint-ARGLIST = double rint-RET = double LDFLAGS-bench-rint = -lm @@ -45,10 +50,42 @@ tan-ARGLIST = double tan-RET = double LDFLAGS-bench-tan = -lm +asin-ARGLIST = double +asin-RET = double +LDFLAGS-bench-asin = -lm + +acos-ARGLIST = double +acos-RET = double +LDFLAGS-bench-acos = -lm + atan-ARGLIST = double atan-RET = double LDFLAGS-bench-atan = -lm +sinh-ARGLIST = double +sinh-RET = double +LDFLAGS-bench-sinh = -lm + +cosh-ARGLIST = double +cosh-RET = double +LDFLAGS-bench-cosh = -lm + +tanh-ARGLIST = double +tanh-RET = double +LDFLAGS-bench-tanh = -lm + +asinh-ARGLIST = double +asinh-RET = double +LDFLAGS-bench-asinh = -lm + +acosh-ARGLIST = double +acosh-RET = double +LDFLAGS-bench-acosh = -lm + +atanh-ARGLIST = double +atanh-RET = double +LDFLAGS-bench-atanh = -lm + # Rules to build and execute the benchmarks. Do not put any benchmark -- cgit 1.4.1