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

James Cowgill <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
On Sat, 2015-05-23 at 00:04 +0300, Aaro Koskinen wrote:
> Hi,
> 
> On Fri, May 22, 2015 at 05:27:14PM +0100, James Cowgill wrote:
> > Yep it's a hardware problem. The following assembly dies (raises SIGILL)
> > at 'sqrt.s' on the Loongsons and works everywhere else:
> > 
> > ===
> >         .set mips2
> >         .text
> >         .global main
> >         .type main, @function
> > main:
> >         lui $t0, %hi(value)
> >         lwc1 $f0, %lo(value)($t0)
> >         nop
> >         sqrt.s $f0, $f0
> >         jr $ra
> > 
> >         .data
> > value:
> >         .float 1.1342362e-39
> > ===
> 
> Is this a standalone reproducer program for the problem? Because
> I tried it on on my Loongson box and didn't get any SIGILL...

It should be. I tried it on some 3A machines at work and it crashed
there (and then some other machines which didn't crash). There's a 2F I
can try on Tuesday. Does the original gfortran code crash for you?

Thanks,
James
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJVX6bzAAoJEMfxZ23qLQHvcBQP/A3gRegMMG0z/UTXUx3Qz4Vq
WEQqVAcR5+XS2sojKwvGjY4tJWIvNhzTzQXfSXHAK1UGDRUUT7PGg+ap8XHAfkWp
3u5h6tfYj/hQU/WDT2tGqW01Byd4ZNchQpIxqD0wjgEObaR8XDG6Dsk4sT7lAD9k
t3N+/uEDeE4S/SOB3lwLh+mXzPYh/YoSlt1+4aUvT1+agIoU2p8tia6kKcjBbjaF
b0O+57MfZyvoBqOUO1q4vd3ja5hFGr7nfcRN1OdsnBqjzei5NDaqIJABR1eWzWYq
lv8GBAQSyYvV5BW+yIRuIpl2J8v4EdLc7eQIibHoz8NdDwbs7Tp7seb1l+bk7Tng
E/j9c1t1Tu/LABcbgQ2BGWPRP33H00Yjwl7pGVkzE9ldjXU5TXrhyo2cvDtMUKdG
xPXSAQGyhzK2+LT2T72ky0QuYkEmxcKgz3nMxR9waQy2NhwRnf710V9mlw05EcgB
afc6trSmdH1q3U8byDqCgb7zCwqqEPNN7oXLZ3IQtWMQT8qrjyjn55dgxCz5mQXB
RsMbhZcs/Kw9Xsrwoge4+HKX0+CzvYqfEF8Sk3+n5UnI+oapY+AOSfIgjJEXEaEf
LyhH1aa/WBqoqP/xzJN9+8CyUTot506KEb/2fS98zowlCs0yBr9w2zG798mze7aT
M2t8uFuE1dd5BHN81b+4
=gCch
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.