This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add more random libm-test inputs [committed]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]