aboutsummaryrefslogtreecommitdiff
path: root/benchtests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r--benchtests/Makefile29
1 files changed, 28 insertions, 1 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 5d3de5db0b..c61fd87052 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -45,7 +45,8 @@
# See pow-inputs for an example.
subdir := benchtests
-bench := exp pow rint sin atan slowexp slowpow slowsin slowatan
+bench := exp pow rint sin cos tan atan \
+ slowexp slowpow slowsin slowcos slowtan slowatan
# exp function fast path
exp-ITER = 5e8
@@ -77,6 +78,18 @@ sin-ARGLIST = double
sin-RET = double
LDFLAGS-bench-sin = -lm
+# cos function fast path
+cos-ITER = 3e9
+cos-ARGLIST = double
+cos-RET = double
+LDFLAGS-bench-cos = -lm
+
+# tan function fast path
+tan-ITER = 3e9
+tan-ARGLIST = double
+tan-RET = double
+LDFLAGS-bench-tan = -lm
+
# atan function fast path
atan-ITER = 6e9
atan-ARGLIST = double
@@ -97,6 +110,20 @@ slowsin-RET = double
slowsin-INCLUDE = slowsin.c
LDFLAGS-bench-slowsin = -lm
+# cos function slowest path
+slowcos-ITER = 3e7
+slowcos-ARGLIST = double
+slowcos-RET = double
+slowcos-INCLUDE = slowcos.c
+LDFLAGS-bench-slowcos = -lm
+
+# tan function slowest path
+slowtan-ITER = 3e7
+slowtan-ARGLIST = double
+slowtan-RET = double
+slowtan-INCLUDE = slowtan.c
+LDFLAGS-bench-slowtan = -lm
+
# atan function slowest path
slowatan-ITER = 3e8
slowatan-ARGLIST = double