about summary refs log tree commit diff
path: root/benchtests/Makefile
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-04-03 13:38:39 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-04-03 15:50:15 +0530
commit64aabd4b80b5a769f2308d5a6dd9393fd2943d0c (patch)
treed2da497e6822560f2b295169949eef4592e36732 /benchtests/Makefile
parentc871eccd1e0102402901b67c0a9a453a38c0e3f9 (diff)
downloadglibc-64aabd4b80b5a769f2308d5a6dd9393fd2943d0c.tar.gz
glibc-64aabd4b80b5a769f2308d5a6dd9393fd2943d0c.tar.xz
glibc-64aabd4b80b5a769f2308d5a6dd9393fd2943d0c.zip
Add benchmark inputs for atan
Add separate inputs for slow and fast paths of atan
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r--benchtests/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 751694aee5..a6a92995a8 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -45,7 +45,7 @@
 #   See pow-inputs for an example.
 
 subdir := benchtests
-bench := exp pow rint sin slowexp slowpow slowsin
+bench := exp pow rint sin atan slowexp slowpow slowsin slowatan
 
 # exp function fast path
 exp-ITER = 5e8
@@ -77,6 +77,12 @@ sin-ARGLIST = double
 sin-RET = double
 LDFLAGS-bench-sin = -lm
 
+# atan function fast path
+atan-ITER = 6e9
+atan-ARGLIST = double
+atan-RET = double
+LDFLAGS-bench-atan = -lm
+
 # pow function slowest path
 slowpow-ITER = 1e5
 slowpow-ARGLIST = double:double
@@ -91,5 +97,12 @@ slowsin-RET = double
 slowsin-INCLUDE = slowsin.c
 LDFLAGS-bench-slowsin = -lm
 
+# atan function slowest path
+slowatan-ITER = 3e8
+slowatan-ARGLIST = double
+slowatan-RET = double
+slowatan-INCLUDE = slowatan.c
+LDFLAGS-bench-slowatan = -lm
+
 include ../Makeconfig
 include ../Rules