about summary refs log tree commit diff
path: root/benchtests/Makefile
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-04-01 14:45:54 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-04-02 17:48:47 +0530
commit92e3664bb597c61c581d02c833729d484de726ad (patch)
tree94d672b150775226dd7b1ef770a48dc846494191 /benchtests/Makefile
parent81f311c2eed308c938f995dbda97d2ec4d00b723 (diff)
downloadglibc-92e3664bb597c61c581d02c833729d484de726ad.tar.gz
glibc-92e3664bb597c61c581d02c833729d484de726ad.tar.xz
glibc-92e3664bb597c61c581d02c833729d484de726ad.zip
Add benchmark inputs for sin
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 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