[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: glibc: floor() is giving incorrect results on alpha architecture



>>>>> On Tue, 9 Oct 2007 13:07:01 -0400
>>>>> "LS" == Lennart Sorensen <lsorense@csclub.uwaterloo.ca> wrote:
LS> 
>> 10:14 pts/10 sacha@vinci:/tmp 7> ./dblc 
>> DBL_MANT_DIG = 53
>> 9007199254740991.000000 9007199254740991.000000
>> 10:14 pts/10 sacha@vinci:/tmp 8> uname -a
>> Linux vinci 2.6.23-rc8-rt2x00-gc31d1777-dirty #1 Wed Oct 3 11:44:23 MSD 2007 alpha GNU/Linux
LS> 
LS> Does the kernel have MATH_EMU enabled or not?  What cpu generation?
LS> Which libm version (libc6 package)?

21:50 pts/0 sacha@vinci:~ 3> dpkg -l libc6.1
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name             Version          Description
+++-================-================-================================================
ii  libc6.1          2.3.6.ds1-13etch GNU C Library: Shared libraries
21:50 pts/0 sacha@vinci:~ 4> cat /proc/cpuinfo
cpu                     : Alpha
cpu model               : EV56
cpu variation           : 7
cpu revision            : 0
cpu serial number       : 
system type             : Miata
system variation        : 0
system revision         : 0
system serial number    : 
cycle frequency [Hz]    : 499914655 est.
timer frequency [Hz]    : 1024.00
page size [bytes]       : 8192
phys. address bits      : 40
max. addr. space #      : 127
BogoMIPS                : 988.76
kernel unaligned acc    : 0 (pc=0,va=0)
user unaligned acc      : 288 (pc=20000098b70,va=1200177d2)
platform string         : Digital Personal WorkStation 500au
cpus detected           : 1
L1 Icache               : 8K, 1-way, 32b line
L1 Dcache               : 8K, 1-way, 32b line
L2 cache                : 96K, 3-way, 64b line
L3 cache                : 4096K, 1-way, 64b line

Do not know anything about MATH_EMU, but I have
CONFIG_MATHEMU=m
in my kernel's .config and the test runs the same way with and without
math-emu module.

-- 
Alexander Kotelnikov
Saint-Petersburg, Russia



Reply to: