Bug#781892: (Hardware?) problem with denormal values on mipsel

2015-05-28 Thread Maciej W. Rozycki
On Thu, 28 May 2015, James Cowgill wrote: > Your test case is wrong. If compiled without optimization, GCC call > 'sqrt' from glibc instead of using the sqrt.s MIPS instruction. With > optimization GCC will remove the call altogether. This is different to > fortran because in fortran SQRT is a bui

Bug#781892: (Hardware?) problem with denormal values on mipsel

2015-05-27 Thread Maciej W. Rozycki
On Wed, 27 May 2015, Ole Streicher wrote: > > If you suspect a bug in emulation, then please try narrowing it down to > > the machine instruction that produces the wrong result, you might be able > > to track it down in your Fortran program by single-stepping the program in > > GDB. > > Sorr

Re: (Hardware?) problem with denormal values on mipsel

2015-05-27 Thread Maciej W. Rozycki
On Wed, 27 May 2015, Ole Streicher wrote: > It is something specific what gfortran produces (and not gcc), and it is not > just a missing emulation (since normalized numbers work); it may be an > incomplete emulation. If you suspect a bug in emulation, then please try narrowing it down to the m

Bug#781892: (Hardware?) problem with denormal values on mipsel

2015-05-27 Thread Maciej W. Rozycki
On Wed, 27 May 2015, James Cowgill wrote: > > > Commit 2d83fea786d7 in 4.1-rc1 ('MIPS: Correct FP ISA requirements') > > > fixed the underlying sqrt.s emulation bug. > > > > > > It would be good if the 4.1-rc1 patch or at least the 'case fsqrt_op' > > > part (which is the fix for this bug) can be

Bug#781892: (Hardware?) problem with denormal values on mipsel

2015-05-27 Thread Maciej W. Rozycki
On Wed, 27 May 2015, James Cowgill wrote: > Thanks! The kernel was the important part which was different to my > setup. > > There's probably still a hardware bug in here somewhere, but before 3.16 > the kernel was fixing it with the math emulator. > > From what I can see: > Commit 08a07904e182

Re: Kernel Panic installing on SGI Indy

2009-02-25 Thread Maciej W. Rozycki
On Wed, 25 Feb 2009, Ralf Baechle wrote: > > > You're getting this error message for the attempt to run a 64-bit kernel > > > on certain very old R4000 revisions. So either run a 32-bit kernel, > > > switch to newer version of the R4000 or to another MIPS CPU. For a > > > processor with just 8k