about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--benchtests/Makefile83
2 files changed, 44 insertions, 41 deletions
diff --git a/ChangeLog b/ChangeLog
index 0b29e0db4d..ac9971fae6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+	* benchtests/Makefile: Sort function entries.
+
 	* benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
 	tanh, asinh, acosh, atanh.
 	* benchtests/acos-inputs: New file.
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