Re: (Hardware?) problem with denormal values on mipsel
James Cowgill <[email protected]>
| Newsgroups | gmane.linux.debian.ports.mips |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 2015-05-24 at 22:32 +0300, Aaro Koskinen wrote: > On Fri, May 22, 2015 at 11:00:18PM +0100, James Cowgill wrote: > > On Sat, 2015-05-23 at 00:04 +0300, Aaro Koskinen wrote: > > > 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. > > My Loongson is 2F... I tried it on my 2F (it's a Lemote Fuloong) and it crashed there as well (both the gfortran and my testcase). It's running up to date jessie. What compiler versions do you have? What does the 'cpu model' line say in /proc/cpuinfo? > > Does the original gfortran code crash for you? > > I don't have gfortran available on my system. Don't you run Debian? Thanks, James
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJVZDk/AAoJENp9Vyz7AWUHyxoP/iUfnpgKrnpoK4L/6PuvPDdP 4xIlPM8546dw7p4/J9KG9+tfqZBF5Cgr2SWNfcvVEbt1p/tsm0I4fc/O4xxXvtCt FHauQ1+jB1kuWBEqho3baRMC+BirO9BHerPHuk8k3GEfr+WZWCTcfz6ehcsPKJxT gel06KL7CfhsT8zG29NNFlBuRkG4LaUKljtZP+E59HhXeuOQPoRW4BEXOs8qFzDQ FSt3H87HLMWnXcRFoS03Vf2h/pAHeBi4kfnH9WpoUhNXOZd6Sca5Ptj8iRG2Yjcr TsnOlUem+8j8IezhjMNFxoD6M1DiTMFaUov+xdYZ7EvwWiK7Z9y/s2Qo59v5tMZg h9rMbg9JC7GQ5/RZH5dadu2pfy8rxQtfs0HFfJ6OaX7OivTDMoTPkh+vahAGEDh2 1wFknI+VK+43c/Weezsr5WA8R51RVQtcrzJ6cqG2yc+b6N4+IN5g0/ZIQX9vdxRD KR06kp6aMV0aR5qpLLKqYmxLBjKGHgL6Cl/6oVLa58q5Uo6NEKHpio5YmXIzWn1e fFSitH/7pGT+3kAiV/q8jOO497HknrzQO3Y3t1EACP24X1CyYFauFU40k9RjiJF4 qDtWRAWK7JD4Fl1nKCZ3Dzy5tp0g+rZMKnEhqMkMZbdkxkhfHPD7iEDO+Sk+ADlt G+499voNMzo1iwS9fud9 =ri2l -----END PGP SIGNATURE-----