diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-04-23 16:29:07 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-05-22 11:07:33 +0530 |
commit | 051063c88b6e38f209c820977e1dcc909ec97421 (patch) | |
tree | 0fd11f591918adc9c513ba545e901e948e0b8e8c /benchtests | |
parent | 04453c56259c2f167e74cbfa4ce3e3d6b9a289bb (diff) | |
download | glibc-051063c88b6e38f209c820977e1dcc909ec97421.zip glibc-051063c88b6e38f209c820977e1dcc909ec97421.tar.gz glibc-051063c88b6e38f209c820977e1dcc909ec97421.tar.bz2 |
Add benchmark inputs for math functions
Add benchmark inputs for inverse and hyperbolic trigonometric
functions and log.
Diffstat (limited to 'benchtests')
-rw-r--r-- | benchtests/Makefile | 39 | ||||
-rw-r--r-- | benchtests/acos-inputs | 7 | ||||
-rw-r--r-- | benchtests/acosh-inputs | 5 | ||||
-rw-r--r-- | benchtests/asin-inputs | 7 | ||||
-rw-r--r-- | benchtests/asinh-inputs | 5 | ||||
-rw-r--r-- | benchtests/atanh-inputs | 5 | ||||
-rw-r--r-- | benchtests/cosh-inputs | 5 | ||||
-rw-r--r-- | benchtests/log-inputs | 1 | ||||
-rw-r--r-- | benchtests/sinh-inputs | 5 | ||||
-rw-r--r-- | benchtests/tanh-inputs | 5 |
10 files changed, 83 insertions, 1 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile index 913fe4d..6c13c2e 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -19,7 +19,8 @@ # Makefile for benchmark tests. The only useful target here is `bench`. subdir := benchtests -bench := exp pow rint sin cos tan atan modf +bench := exp pow log rint sin cos tan asin acos atan modf sinh cosh tanh \ + asinh acosh atanh exp-ARGLIST = double exp-RET = double @@ -29,6 +30,10 @@ pow-ARGLIST = double:double pow-RET = double LDFLAGS-bench-pow = -lm +log-ARGLIST = double +log-RET = double +LDFLAGS-bench-log = -lm + rint-ARGLIST = double rint-RET = double LDFLAGS-bench-rint = -lm @@ -45,10 +50,42 @@ 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 + +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 diff --git a/benchtests/acos-inputs b/benchtests/acos-inputs new file mode 100644 index 0000000..b527af3 --- /dev/null +++ b/benchtests/acos-inputs @@ -0,0 +1,7 @@ +0.5 +0.1 +0.2 +0.3 +0.4 +0.8 +0.7 diff --git a/benchtests/acosh-inputs b/benchtests/acosh-inputs new file mode 100644 index 0000000..3c8c546 --- /dev/null +++ b/benchtests/acosh-inputs @@ -0,0 +1,5 @@ +0.1 +0.2 +0.3 +0.4 +0.5 diff --git a/benchtests/asin-inputs b/benchtests/asin-inputs new file mode 100644 index 0000000..b527af3 --- /dev/null +++ b/benchtests/asin-inputs @@ -0,0 +1,7 @@ +0.5 +0.1 +0.2 +0.3 +0.4 +0.8 +0.7 diff --git a/benchtests/asinh-inputs b/benchtests/asinh-inputs new file mode 100644 index 0000000..3c8c546 --- /dev/null +++ b/benchtests/asinh-inputs @@ -0,0 +1,5 @@ +0.1 +0.2 +0.3 +0.4 +0.5 diff --git a/benchtests/atanh-inputs b/benchtests/atanh-inputs new file mode 100644 index 0000000..3c8c546 --- /dev/null +++ b/benchtests/atanh-inputs @@ -0,0 +1,5 @@ +0.1 +0.2 +0.3 +0.4 +0.5 diff --git a/benchtests/cosh-inputs b/benchtests/cosh-inputs new file mode 100644 index 0000000..3c8c546 --- /dev/null +++ b/benchtests/cosh-inputs @@ -0,0 +1,5 @@ +0.1 +0.2 +0.3 +0.4 +0.5 diff --git a/benchtests/log-inputs b/benchtests/log-inputs new file mode 100644 index 0000000..713c222 --- /dev/null +++ b/benchtests/log-inputs @@ -0,0 +1 @@ +42.0 diff --git a/benchtests/sinh-inputs b/benchtests/sinh-inputs new file mode 100644 index 0000000..3c8c546 --- /dev/null +++ b/benchtests/sinh-inputs @@ -0,0 +1,5 @@ +0.1 +0.2 +0.3 +0.4 +0.5 diff --git a/benchtests/tanh-inputs b/benchtests/tanh-inputs new file mode 100644 index 0000000..3c8c546 --- /dev/null +++ b/benchtests/tanh-inputs @@ -0,0 +1,5 @@ +0.1 +0.2 +0.3 +0.4 +0.5 |