Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
benchmark inputs for exp2, log2, log and tan
  • Loading branch information
Siddhesh Poyarekar committed Dec 12, 2013
1 parent dc14d99 commit 19b5525
Show file tree
Hide file tree
Showing 6 changed files with 4,063 additions and 4 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
@@ -1,3 +1,13 @@
2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>

* benchtests/Makefile (bench): Add exp2 and log2.
(LDLIBS-bench-exp2): Add -lm.
(LDLIBS-bench-log2): Likewise.
* benchtests/exp2-inputs: New inputs file.
* benchtests/log2-inputs: New inputs file.
* benchtests/log-inputs: Add new inputs.
* benchtests/tan-inputs: Likewise.

2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>

* sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
Expand Down
6 changes: 4 additions & 2 deletions benchtests/Makefile
Expand Up @@ -20,8 +20,8 @@
# Add benchmark functions in alphabetical order.

subdir := benchtests
bench := acos acosh asin asinh atan atanh cos cosh exp log modf pow rint sin \
sincos sinh sqrt tan tanh
bench := acos acosh asin asinh atan atanh cos cosh exp exp2 log log2 modf pow \
rint sin sincos sinh sqrt tan tanh

# String function benchmarks.
string-bench := bcopy bzero memccpy memchr memcmp memcpy memmem memmove \
Expand All @@ -44,7 +44,9 @@ LDLIBS-bench-atanh = -lm
LDLIBS-bench-cos = -lm
LDLIBS-bench-cosh = -lm
LDLIBS-bench-exp = -lm
LDLIBS-bench-exp2 = -lm
LDLIBS-bench-log = -lm
LDLIBS-bench-log2 = -lm
LDLIBS-bench-pow = -lm
LDLIBS-bench-rint = -lm
LDLIBS-bench-sin = -lm
Expand Down
105 changes: 105 additions & 0 deletions benchtests/exp2-inputs
@@ -0,0 +1,105 @@
## args: double
## ret: double
## includes: math.h
-0x1.8235e0aa4aab1p814
0x1.0e1220dfad80dp1006
-0x1.e6a710eed0706p919
0x1.11def1bbe9bc3p-471
0x1.05e9b1fc591d9p-1007
0x1.a58906c628b46p984
0x1.772627fce1208p-256
-0x1.461c146b65f2cp-62
-0x1.6cf046992fa9ep-876
-0x1.eaca47d76382cp-413
0x1.5056d0027ca2bp-634
0x1.1be8235cf2515p-300
0x1.f667e36bb79d2p913
0x1.b9ae233039c9cp-721
0x1.b70ec546dac57p589
-0x1.3ef895a695202p-318
-0x1.e73d755c17ecap-901
-0x1.f0a09005d2fdcp-52
0x1.77520292c8ea7p786
0x1.e5c0a38dccd6fp-510
-0x1.21dd1410a13fdp469
-0x1.f1ea1752b167cp-855
0x1.149395c6b1dfcp237
-0x1.22cfe4ceb2a85p244
0x1.061a75f02c856p-417
-0x1.04aaf4e1a4962p-645
-0x1.b962f2c49c11ap169
0x1.6074818509343p-151
-0x1.6b9946b997353p350
-0x1.6b8631635d607p-328
0x1.6893162dc2973p923
-0x1.0a1c40492986dp-371
-0x1.23ae72061594ap-113
0x1.d73d84becb49dp-816
0x1.545894ebc8944p-487
-0x1.c006c29733c62p325
-0x1.745dc305eeb06p-994
0x1.6cdeb63076b54p420
0x1.c8f137c690673p906
-0x1.170ab5609f77cp205
-0x1.0b11b685a3349p-46
0x1.7f68672b92eb1p-622
0x1.66d431dee4bfdp-333
-0x1.e43304b22a96dp228
0x1.58ac069095de9p-419
-0x1.3fcaa6e1f1ac3p654
-0x1.437ed00080554p-88
0x1.717ad5a379c50p531
0x1.9688d6a6dd841p127
-0x1.189c3732f9ac8p505
-0x1.8c5da688a249ep871
0x1.808015df2809ep-647
0x1.54ccb260c52f6p183
0x1.ec1574f23f1b5p757
-0x1.2de0222e50454p-176
-0x1.dc5715d5ac4f3p-882
0x1.6fa963199b1fbp389
-0x1.0a143338c0ff3p149
0x1.c278a3ec4071cp240
0x1.7bdb071d7e6ffp-360
-0x1.e9b7a0af460ddp-809
0x1.d069e62cf695bp535
0x1.0f7ba1b172a18p-887
-0x1.96af5166829b7p399
-0x1.8f70240823cdbp-65
-0x1.fcd2d5a63a217p-971
-0x1.089241ad467f2p-247
-0x1.3fa3940d58aa8p1022
-0x1.aff1c0aec4e7dp814
-0x1.6bad319cfc3bcp-378
0x1.9c8956c66ba36p-579
-0x1.6d9393f52ee3fp411
0x1.e529d23501328p926
0x1.3ec71520af29cp690
0x1.787576a795b83p194
-0x1.ef38147d2dc40p107
-0x1.22a125ccbb1b2p-308
0x1.5f5c074be0351p-928
-0x1.377ed64bec482p390
-0x1.09eae6f62d4b8p-41
0x1.9f3fd03635c92p-104
0x1.cb7d07d13c9efp599
0x1.49e8154de36a7p538
-0x1.d68343fe573bfp-736
-0x1.4beba6b79ba1ep-811
0x1.927774a125013p221
-0x1.e4a1e48c33931p-152
-0x1.b8a3123361eb5p641
-0x1.909ea08b262f3p960
0x1.0d1b30600d5b0p822
-0x1.392420cf4ce19p-690
-0x1.f9e1f71c0f3a2p-349
-0x1.75600638cbf0ep-527
-0x1.788911851a5abp-193
-0x1.2ab1045fa9103p-471
-0x1.d9c7f1a19cefdp-44
0x1.ef5a66b13a5f8p171
0x1.261c24ba6cdfbp539
0x1.641945dc01d29p-620
0x1.5c190276797a1p935
-0x1.ea76b6a8a9d4ap-656
0x1.41a117e9931f0p-169

0 comments on commit 19b5525

Please sign in to comment.