aboutsummaryrefslogtreecommitdiff
path: root/benchtests
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-05-22 11:05:04 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-05-22 11:07:39 +0530
commit3ce9e01097f72f90ca7c374addad94abcfea7c8a (patch)
treefffb9ab5ff0f834357f7ec3ab89e1e3dd6652d2e /benchtests
parent051063c88b6e38f209c820977e1dcc909ec97421 (diff)
downloadglibc-3ce9e01097f72f90ca7c374addad94abcfea7c8a.tar
glibc-3ce9e01097f72f90ca7c374addad94abcfea7c8a.tar.gz
glibc-3ce9e01097f72f90ca7c374addad94abcfea7c8a.tar.bz2
glibc-3ce9e01097f72f90ca7c374addad94abcfea7c8a.zip
Sort benchmark functions
Diffstat (limited to 'benchtests')
-rw-r--r--benchtests/Makefile83
1 files changed, 42 insertions, 41 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 6c13c2ea3f..67728537a8 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