This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add more random libm-test inputs [committed]
- From: Paul Pluzhnikov <ppluzhnikov at google dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: GLIBC Devel <libc-alpha at sourceware dot org>
- Date: Fri, 14 Aug 2015 09:18:52 -0700
- Subject: Re: Add more random libm-test inputs [committed]
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1508132324060 dot 7713 at digraph dot polyomino dot org dot uk>
On Thu, Aug 13, 2015 at 4:24 PM, Joseph Myers <joseph@codesourcery.com> wrote:
> This patch adds more test inputs to various libm functions found
> through random generation to have larger ulps errors than previously
> listed in libm-test-ulp, on at least one of x86_64 and x86.
>
> Tested for x86_64 and x86. Committed.
>
> (auto-libm-test-out diffs omitted below.)
>
> 2015-08-13 Joseph Myers <joseph@codesourcery.com>
>
> * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
> asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
> exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
> and tgamma.
> * math/auto-libm-test-out: Regenerated.
> * sysdeps/i386/fpu/libm-test-ulps: Update.
> * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
I am getting a failure in math/test-double-vlen4-avx2.out after above commit:
testing double vector math (without inline functions)
Failure: Test: sincos_vlen4_avx2 (0x6.287cc8749213p+0) extra output 2
Result:
is: 9.92193768256899422120e-01 0x1.fc00d253eab190000000p-1
should be: 9.92193768256899644165e-01 0x1.fc00d253eab1b0000000p-1
difference: 2.22044604925031308085e-16 0x1.00000000000000000000p-52
ulp : 2.0000
max.ulp : 1.0000
Maximal error of `sincos_vlen4_avx2'
is : 2 ulp
accepted: 1 ulp
Test suite completed:
1596 test cases plus 0 tests for exception flags and
1572 tests for errno executed.
2 errors occurred.
/proc/cpuinfo says:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 63
model name : Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz
stepping : 2
microcode : 0x2e
cpu MHz : 1200.000
cache size : 15360 KB
physical id : 0
$ head -40 /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 63
model name : Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz
stepping : 2
microcode : 0x2e
cpu MHz : 1200.000
cache size : 15360 KB
physical id : 0
siblings : 12
core id : 0
cpu cores : 6
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 15
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl
xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor
ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2
x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand
lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
invpcid
bogomips : 6983.41
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
--
Paul Pluzhnikov