diff options
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r-- | benchtests/Makefile | 83 |
1 files changed, 42 insertions, 41 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile index 6c13c2e..6772853 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -17,23 +17,56 @@ # Makefile for benchmark tests. The only useful target here is `bench`. +# Add benchmark functions in alphabetical order. subdir := benchtests -bench := exp pow log rint sin cos tan asin acos atan modf sinh cosh tanh \ - asinh acosh atanh +bench := acos acosh asin asinh atan atanh cos cosh exp log modf pow rint sin \ + sinh tan tanh + +acos-ARGLIST = double +acos-RET = double +LDFLAGS-bench-acos = -lm + +acosh-ARGLIST = double +acosh-RET = double +LDFLAGS-bench-acosh = -lm + +asin-ARGLIST = double +asin-RET = double +LDFLAGS-bench-asin = -lm + +asinh-ARGLIST = double +asinh-RET = double +LDFLAGS-bench-asinh = -lm + +atan-ARGLIST = double +atan-RET = double +LDFLAGS-bench-atan = -lm + +atanh-ARGLIST = double +atanh-RET = double +LDFLAGS-bench-atanh = -lm + +cos-ARGLIST = double +cos-RET = double +LDFLAGS-bench-cos = -lm + +cosh-ARGLIST = double +cosh-RET = double +LDFLAGS-bench-cosh = -lm exp-ARGLIST = double exp-RET = double LDFLAGS-bench-exp = -lm -pow-ARGLIST = double:double -pow-RET = double -LDFLAGS-bench-pow = -lm - log-ARGLIST = double log-RET = double LDFLAGS-bench-log = -lm +pow-ARGLIST = double:double +pow-RET = double +LDFLAGS-bench-pow = -lm + rint-ARGLIST = double rint-RET = double LDFLAGS-bench-rint = -lm @@ -42,50 +75,18 @@ sin-ARGLIST = double sin-RET = double LDFLAGS-bench-sin = -lm -cos-ARGLIST = double -cos-RET = double -LDFLAGS-bench-cos = -lm - -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 +tan-ARGLIST = double +tan-RET = double +LDFLAGS-bench-tan = -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 |