aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-10-28 16:35:07 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-10-28 16:35:08 +0530
commit54f73d9c089deeaa6552ac0710fc09e50fd83918 (patch)
tree747b6f8f6bcb4f180b7c448d55bf27816c716542
parentc79a12040c52623f23796966b806a2a6ce4e34d2 (diff)
downloadglibc-54f73d9c089deeaa6552ac0710fc09e50fd83918.tar
glibc-54f73d9c089deeaa6552ac0710fc09e50fd83918.tar.gz
glibc-54f73d9c089deeaa6552ac0710fc09e50fd83918.tar.bz2
glibc-54f73d9c089deeaa6552ac0710fc09e50fd83918.zip
New inputs for exp
A more comprehensive set of inputs for exp, including all slow paths. The inputs have been shuffled so that they don't give a false-positive due to a hot cache.
-rw-r--r--ChangeLog2
-rw-r--r--benchtests/exp-inputs581
2 files changed, 583 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fb8f43fa30..6885996d7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * benchtests/exp-inputs: Add new inputs.
+
* sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
conditional check for return value.
(__cos32): Likewise.
diff --git a/benchtests/exp-inputs b/benchtests/exp-inputs
index 593ad7c74b..aff3fb42f1 100644
--- a/benchtests/exp-inputs
+++ b/benchtests/exp-inputs
@@ -1,8 +1,589 @@
## args: double
## ret: double
## includes: math.h
+0x1.6200315ce81efp9
+0x1.0000000031579p0
+0x1.000000009b551p0
+0x1.000000067ace6p0
+0x1.6200315ad0fc0p9
+0x1.0000000000060p0
+0x1.00000004237a7p0
+0x1.6200315ad0fb2p9
+0x1.0000000054ac1p0
+0x1.6200315c98bcdp9
+0x1.0000000002d96p0
+0x1.0000000000038p256
+0x1.6200315ad0fafp9
+0x1.6200315d680ecp9
+0x1.0000000000042p0
+0x1.0000000000048p256
+0x1.6200315ad0fbcp9
+0x1.000000000000dp256
+0x1.000000000001ep256
+0x1.0000000000015p256
+0x1.0000000000018p-256
+0x1.000000000002ep0
+0x1.000000000004ep-256
+0x1.000000000001dp-256
+0x1.6200315ad0fb4p9
+0x1.00000002ca5f8p0
+0x1.0000000000017p256
+0x1.0000000000022p0
+0x1.0000000000059p256
+0x1.0000000000028p0
+0x1.6200315ad0fa7p9
+0x1.000000048059cp0
+0x1.0000000000023p256
+0x1.000000000003ap-256
+0x1.0000000000022p-256
+0x1.6200315f211bep9
+0x1.000000000002ep-256
+0x1.0000000000041p256
+0x1.0000000000042p-256
+0x1.6200315ad0fcfp9
+0x1.6200315ad0fd7p9
+0x1.000000004bd6fp0
+0x1.000000000000dp-256
+0x1.6200315ad0fb7p9
+0x1.000000000001fp0
+0x1.0000000000024p-256
+0x1.0000000000058p256
+0x1.6200315ad0fc5p9
+0x1.620030025fbe9p9
+0x1.000000000003dp-256
+0x1.000000000003fp-256
+0x1.0000000000009p256
+0x1.00000005c7304p0
+0x1.0000000000045p-256
+0x1.0000000000011p-256
+0x1.0000000000033p-256
+0x1.0000000000036p256
+0x1.0000000000059p-256
+0x1.0000000000001p-256
+0x1.0000000000052p-256
+0x1.000000045baafp0
+0x1.0000000000032p0
+0x1.00000004a5089p0
+0x1.00000005edb68p0
+0x1.6200315ad0fd1p9
+0x1.0000000080d5bp0
+0x1.0000000000038p0
+0x1.6200315ad0fdbp9
+0x1.000000000005fp256
+0x1.0000000291b1ep0
+0x1.6200315af4bedp9
+0x1.0000000000031p-256
+0x1.6200315aea99bp9
+0x1.00000005ab569p0
+0x1.6200315d47b24p9
+0x1.6200315ad0fd9p9
+0x1.000000000003bp256
+0x1.6200315d31eb9p9
+0x1.000000059a297p0
+0x1.0000000000011p256
+0x1.0000000000021p-256
+0x1.0000000000041p-256
+0x1.0000000000049p0
+0x1.00000006857afp0
+0x1.6200315ceb300p9
+0x1.000000000003bp-256
+0x1.6200315bcaec3p9
+0x1.0000000000018p256
+0x1.00000002f3b77p0
+0x1.6200315ad0fb5p9
+0x1.0000000000027p-256
+0x1.000000054447dp0
+0x1.6200315e84846p9
+0x1.0000000172fefp0
+0x1.00000001c8808p0
+0x1.0000000000003p256
+0x1.000000000003ep-256
+0x1.00000002ed36ep0
+0x1.000000000002ap0
+0x1.00000002ae08bp0
+0x1.000000000005dp-256
+0x1.0000000000063p256
+0x1.000000000003ep0
+0x1.0000000000037p256
+0x1.6200315ad0fb6p9
+0x1.000000000005ep0
+0x1.000000000002ap256
+0x1.0000000000056p256
+0x1.0000000266056p0
+0x1.6200315ad0fdap9
+0x1.000000000002dp0
+0x1.000000000004cp0
+0x1.6200315ad0fb8p9
+0x1.0000000000039p0
+0x1.000000000002ap-256
+0x1.6200315ad0fa5p9
+0x1.0000000000035p256
+0x1.000000000005ep256
+0x1.000000000004cp-256
+0x1.0000000000039p256
+0x1.000000055574fp0
+0x1.0000000000033p256
+0x1.6200315ad0fc2p9
+0x1.62003001fc398p9
+0x1.000000000004ap-256
+0x1.000000000001ap256
+0x1.000000005d813p0
+0x1.6200315ad0fe4p9
+0x1.0000000000030p-256
+0x1.0000000000020p-256
+0x1.0000000066565p0
+0x1.0000000000029p-256
+0x1.6200315ad0fc7p9
+0x1.000000049e880p0
+0x1.0000000609903p0
+0x1.00000005e309fp0
+0x1.0000000000013p256
+0x1.0000000000026p0
+0x1.000000000002dp-256
+0x1.6200315ad0fbdp9
+0x1.000000000000fp256
+0x1.00000001a9d52p0
+0x1.000000000002cp256
+0x1.0000000479d93p0
+0x1.0000000000016p256
+0x1.00000001d7d63p0
+0x1.6200315bd5b13p9
+0x1.00000001097e9p0
+0x1.0000000000030p0
+0x1.6200315d37392p9
+0x1.6200315ad0fe0p9
+0x1.6200315ba6119p9
+0x1.000000000003ep256
+0x1.00000000e87eap0
+0x1.0000000000002p256
+0x1.00000006501c2p0
+0x1.000000000004bp256
+0x1.620030022b98ap9
+0x1.000000000003fp0
+0x1.00000002d0e01p0
+0x1.00000001f6819p0
+0x1.0000000000020p256
+0x1.0000000000021p0
+0x1.000000000005cp256
+0x1.6200315ad0faep9
+0x1.6200315c61515p9
+0x1.0000000000008p256
+0x1.0000000000056p-256
+0x1.00000004f2923p0
+0x1.000000000001ep0
+0x1.0000000000028p256
+0x1.000000000004fp256
+0x1.000000000002cp-256
+0x1.0000000000025p0
+0x1.6200315e1215ap9
+0x1.6200315ad0fb3p9
+0x1.6200315e921dap9
+0x1.6200315ad0fd6p9
+0x1.0000000000049p256
+0x1.000000000004dp256
+0x1.0000000000042p256
+0x1.0000000000051p0
+0x1.6200315d83129p9
+0x1.0000000690278p0
+0x1.0000000000036p0
+0x1.0000000000026p256
+0x1.000000000005fp-256
+0x1.000000000000cp256
+0x1.0000000000007p256
+0x1.000000050a3fep0
+0x1.000000000001fp-256
+0x1.000000000002ep256
+0x1.000000000004ep256
+0x1.6200315f00e77p9
+0x1.6200315ad0fd2p9
+0x1.6200315d4ee5bp9
+0x1.00000004552a6p0
+0x1.6200315ad0fe3p9
+0x1.000000003a2cbp0
+0x1.6200315ad0fdfp9
+0x1.00000002b4894p0
+0x1.0000000000022p256
+0x1.000000023a58ep0
+0x1.6200315ad0fd8p9
+0x1.0000000000029p256
+0x1.6200315efe051p9
+0x1.0000000205d74p0
+0x1.0000000000045p256
+0x1.6200315ad0fb0p9
+0x1.6200315d77cc5p9
+0x1.000000065ac8bp0
+0x1.0000000000037p0
+0x1.6200315ad0fbfp9
+0x1.6200315dacc95p9
+0x1.000000000002fp-256
+0x1.000000000000ep256
+0x1.00000006bf05cp0
+0x1.0000000000051p256
+0x1.0000000000062p0
+0x1.0000000000031p256
+0x1.6200315be943dp9
+0x1.000000000005bp0
+0x1.0000000000045p0
+0x1.6200315e08505p9
+0x1.000000000001bp256
+0x1.0000000000005p256
+0x1.000000000005dp256
+0x1.6200315ad0fc9p9
+0x1.6200315e97676p9
+0x1.0000000000024p0
+0x1.0000000000003p-256
+0x1.6200315ad0fd4p9
+0x1.6200315ee2c3bp9
+0x1.0000000000020p0
+0x1.6200315ad0fdcp9
+0x1.0000000000053p-256
+0x1.000000000004bp-256
+0x1.6200315cafb6ep9
+0x1.000000000003ap256
+0x1.0000000000013p-256
+0x1.0000000000060p256
+0x1.6200315ad0fd3p9
+0x1.0000000000009p-256
+0x1.000000000005cp-256
+0x1.00000000acff5p0
+0x1.000000000004dp0
+0x1.0000000000050p256
+0x1.6200315e34fc6p9
+0x1.0000000000044p-256
+0x1.000000000002dp256
+0x1.0000000000062p256
+0x1.6200315bf4442p9
+0x1.6200315ad0fabp9
+0x1.000000000003cp0
+0x1.0000000000019p256
+0x1.000000000000cp-256
+0x1.000000000000bp-256
+0x1.0000000000063p0
+0x1.000000000003cp256
+0x1.0000000000061p-256
+0x1.6200315ad0fb1p9
+0x1.00000006456f9p0
+0x1.6200315ad0fb9p9
+0x1.6200315ad0fccp9
+0x1.6200315ad0fd5p9
+0x1.6200315ad0fd0p9
+0x1.0000000353687p0
+0x1.6200315ad0facp9
+0x1.000000000005bp256
+0x1.6200315e8bb51p9
+0x1.6200315d73094p9
+0x1.000000027bdbap0
+0x1.000000006f2b7p0
+0x1.0000000000057p0
+0x1.0000000298327p0
+0x1.000000019a7f7p0
+0x1.6200315b7b9ddp9
+0x1.000000041cf9ep0
+0x1.0000000000040p256
+0x1.0000000000059p0
+0x1.6200315ad0fe2p9
+0x1.0000000000056p0
+0x1.0000000000034p-256
+0x1.6200315cf49aep9
+0x1.0000000000017p-256
+0x1.000000000bae8p0
+0x1.6200315ad0fc1p9
+0x1.00000004c336dp0
+0x1.0000000000032p256
+0x1.6200315ae9fb5p9
+0x1.000000000004cp256
+0x1.0000000000057p-256
+0x1.0000000000035p-256
+0x1.6200315d4d455p9
42
+0x1.6200315ad0fa8p9
+0x1.00000002502f2p0
+0x1.6200315ad0fa3p9
+0x1.000000000005dp0
+0x1.0000000000012p-256
+0x1.0000000000006p256
+0x1.0000000000028p-256
+0x1.0000000000044p256
+0x1.000000000004ap0
+0x1.00000000927ffp0
+0x1.0000000000044p0
+0x1.00000006f8909p0
+0x1.6200315ad0fc8p9
+0x1.0000000000061p0
+0x1.000000012a7e8p0
+0x1.000000000000fp-256
+0x1.6200315b6f0a0p9
+0x1.00000001b92adp0
+0x1.000000000005ep-256
+0x1.6200315d436fep9
+0x1.000000004301dp0
+0x1.0000000000023p0
+0x1.000000000005ap0
+0x1.6200315e7189ap9
+0x1.0000000000033p0
+0x1.6200315c19f20p9
+0x1.0000000000040p-256
+0x1.0000000000031p0
+0x1.0000000000027p0
+0x1.6200315d1dfeap9
+0x1.0000000588fc5p0
+0x1.000000015ad42p0
+0x1.6200300248616p9
+0x1.0000000000021p256
+0x1.6200315ad0fcap9
+0x1.6200315ad0fbbp9
+0x1.6200315ad0fbep9
+0x1.0000000000052p0
+0x1.0000000000016p-256
+0x1.0000000000005p-256
+0x1.0000000000046p256
+0x1.000000000003cp-256
+0x1.0000000000054p0
+0x1.000000034ce7ep0
+0x1.0000000000050p-256
+0x1.000000000002fp256
+0x1.6200315f2a44bp9
+0x1.6200315ad0fa2p9
+0x1.6200315f53addp9
+0x1.0000000000043p256
+0x1.000000000002bp0
+0x1.6200315b9a51fp9
+0x1.62003002148e6p9
+0x1.0000000000039p-256
+0x1.0000000000023p-256
+0x1.00000006d45eep0
+0x1.000000000002cp0
+0x1.0000000000055p256
+0x1.000000000000ap256
+0x1.0000000000010p-256
+0x1.0000000000047p-256
+0x1.000000000002fp0
+0x1.0000000000001p256
+0x1.000000040ff8cp0
+0x1.0000000121a96p0
+0x1.6200315c8b9bcp9
+0x1.000000000001cp-256
+0x1.0000000000063p-256
+0x1.0000000000006p-256
+0x1.000000000001ap-256
+0x1.6200300247b12p9
+0x1.0000000000046p0
+0x1.0000000000036p-256
+0x1.00000004bcb64p0
+0x1.0000000000032p-256
+0x1.0000000000057p256
+0x1.6200315e03518p9
+0x1.00000005331abp0
+0x1.000000000001ep-256
+0x1.6200315f76ad3p9
+0x1.000000000004dp-256
+0x1.000000000003bp0
+0x1.00000005b6032p0
+0x1.0000000000007p-256
+0x1.6200315ad0fc4p9
+0x1.0000000000051p-256
+0x1.000000000005cp0
+0x1.6200315ad0fc6p9
+0x1.0000000100a97p0
+0x1.0000000000040p0
+0x1.000000000004fp0
+0x1.000000000003dp0
+0x1.0000000000027p256
+0x1.0000000000000p-256
+0x1.6200315b10d8dp9
+0x1.0000000000060p-256
+0x1.6200315ad0fcdp9
+0x1.6200315ad0fa4p9
+0x1.6200315d07f8ep9
+0x1.000000000001bp-256
+0x1.0000000000041p0
+0x1.6200315ad0fe1p9
+0x1.0000000000053p0
+0x1.00000003168edp0
+0x1.0000000000000p256
+0x1.0000000000002p-256
+0x1.6200315bd4cecp9
+0x1.0000000000047p256
+0x1.6200315b2b8adp9
+0x1.000000000002bp256
+0x1.0000000000055p-256
+0x1.000000000004ap256
+0x1.00000006c9b25p0
+0x1.0000000000054p-256
+0x1.0000000000047p0
+0x1.6200315d8ee5dp9
+0x1.6200315b74b4cp9
+0x1.000000000005ap256
+0x1.0000000000043p-256
+0x1.0000000000055p0
+0x1.0000000000019p-256
+0x1.000000031d0f6p0
+0x1.00000006ede40p0
+0x1.00000002152cfp0
+0x1.6200315f61210p9
+0x1.6200315ad0fadp9
+0x1.000000044ea9dp0
+0x1.0000000000050p0
+0x1.0000000000024p256
+0x1.000000022b033p0
+0x1.0000000000043p0
+0x1.000000000001fp256
+0x1.0000000000034p0
+0x1.0000000000025p-256
+0x1.0000000000034p256
+0x1.000000000001dp0
+0x1.000000000005ap-256
+0x1.6200315ad0fddp9
+0x1.0000000577cf3p0
+0x1.000000051b6d0p0
+0x1.00000006143ccp0
+0x1.0000000000010p256
+0x1.000000061ee95p0
+0x1.6200315c3eed5p9
+0x1.00000000dfa98p0
+0x1.0000000000049p-256
+0x1.0000000000052p256
+0x1.0000000000053p256
+0x1.000000000005bp-256
+0x1.000000000000ep-256
+0x1.6200315e8ca3cp9
+0x1.6200315ad0faap9
+0x1.0000000142a95p0
+0x1.6200315ad0fcep9
+0x1.6200315ad0fcbp9
+0x1.6200315ef86c6p9
+0x1.0000000000026p-256
+0x1.6200315ed1587p9
+0x1.000000067021dp0
+0x1.00000001e72bep0
+0x1.6200315ad0fbap9
+0x1.00000000d6d46p0
+0x1.0000000000058p0
+0x1.00000000a42a3p0
+0x1.6200315b50c42p9
+0x1.6200315c4ee10p9
+0x1.0000000416795p0
+0x1.0000000000014p-256
+0x1.0000000000037p-256
+0x1.6200315ad0fa6p9
+0x1.0000000000004p-256
+0x1.0000000000054p256
+0x1.000000018254ap0
+0x1.6200315dc2365p9
+0x1.0000000000015p-256
+0x1.000000000004fp-256
+0x1.0000000665754p0
+0x1.0000000000046p-256
+0x1.6200315b2ba38p9
+0x1.000000000002bp-256
+0x1.6200315ba202ep9
+0x1.0000000000008p-256
+0x1.0000000359e90p0
+0x1.00000004dae48p0
+0x1.000000000001cp256
+0x1.0000000000062p-256
+0x1.0000000000048p0
+0x1.000000000003fp256
+0x1.6200315bcd48bp9
+0x1.6200315ad0fa9p9
+0x1.0000000000030p256
+0x1.6200315d64448p9
+0x1.0000000089aadp0
+0x1.6200315f0aa29p9
+0x1.00000005d1dcdp0
+0x1.6200315ad0fdep9
+0x1.0000000000061p256
+0x1.0000000000058p-256
+0x1.0000000000012p256
+0x1.000000000005fp0
+0x1.000000000003ap0
+0x1.000000000000bp256
+0x1.000000000004bp0
+0x1.0000000000038p-256
+0x1.0000000000029p0
+0x1.0000000000025p256
+0x1.000000000001dp256
+0x1.0000000000004p256
+0x1.6200315e2240ep9
+0x1.6200315ad0fc3p9
+0x1.6200315b2bbc3p9
+0x1.0000000000014p256
+0x1.0000000078009p0
+0x1.000000000003dp256
+0x1.6200315db488fp9
+0x1.000000000000ap-256
+0x1.000000000004ep0
+0x1.0000000000035p0
+0x1.0000000000048p-256
+# Slow path with computation in 144 bit precision.
+# Implemented in: sysdeps/ieee754/dbl-64/mpexp.c
+## name: 144bits
+0x1.0000000002d96p0
+0x1.000000000bae8p0
+0x1.0000000031579p0
+0x1.000000003a2cbp0
+0x1.000000004301dp0
+0x1.000000004bd6fp0
+0x1.0000000054ac1p0
+0x1.000000005d813p0
+0x1.00000005ab569p0
+0x1.00000005b6032p0
+0x1.00000005c7304p0
+0x1.00000005d1dcdp0
+0x1.00000005e309fp0
+0x1.00000005edb68p0
+0x1.0000000609903p0
+0x1.00000006143ccp0
+0x1.000000061ee95p0
+0x1.00000006456f9p0
+0x1.00000006501c2p0
+0x1.000000065ac8bp0
+0x1.0000000665754p0
+0x1.000000067021dp0
+0x1.000000067ace6p0
+0x1.00000006857afp0
+0x1.0000000690278p0
+0x1.00000006bf05cp0
+0x1.00000006c9b25p0
+0x1.00000006d45eep0
+0x1.00000006ede40p0
+0x1.00000006f8909p0
+0x1.62003000076d2p9
+0x1.6200300017e2cp9
+0x1.6200300023ffbp9
+0x1.620030002b135p9
+0x1.6200300030a8bp9
+0x1.620030003123fp9
+0x1.62003000652b3p9
+0x1.620030007bf4ap9
+0x1.6200300081a79p9
+0x1.6200300090289p9
+0x1.620030009dcbbp9
+0x1.62003000c07cep9
+0x1.62003000ee5dbp9
+0x1.62003000fa646p9
+0x1.62003000fe2cap9
+0x1.6200300125996p9
+0x1.6200300130865p9
+0x1.6200300133673p9
+0x1.6200300136fdfp9
+0x1.6200300150360p9
+0x1.620030016c416p9
+0x1.6200315ee2c3bp9
+0x1.6200315ef86c6p9
+0x1.6200315efe051p9
+0x1.6200315f00e77p9
+0x1.6200315f0aa29p9
+0x1.6200315f211bep9
+0x1.6200315f2a44bp9
+0x1.6200315f53addp9
+0x1.6200315f61210p9
+0x1.6200315f76ad3p9
# Slowest path with computation in 768 bit precision.
# Implemented in: sysdeps/ieee754/dbl-64/mpexp.c
## name: 768bits
708.00096423260981737257679924368858
+0x1.00000027f5496p0
+0x1.0000015853da7p0
+0x1.0000098e5e007p0
+0x1.0000099a1ac59p0