From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 43 invoked from network); 1 Jul 1998 21:20:31 -0000 Received: from mail-out-0.tiac.net (199.0.65.247) by mail2.redhat.com with SMTP; 1 Jul 1998 21:20:31 -0000 Received: from mail-out-4.tiac.net (mail-out-4.tiac.net [199.0.65.16]) by mail-out-0.tiac.net (8.8.8/8.8.8) with ESMTP id RAA04456 for ; Wed, 1 Jul 1998 17:20:25 -0400 (EDT) (envelope-from jrp@jrp.tiac.net) From: jrp@jrp.tiac.net Received: from pentium.localnet (ppp0a026.std.com [208.192.100.26]) by mail-out-4.tiac.net (8.8.7/8.8.7) with ESMTP id VAA06284 for ; Wed, 1 Jul 1998 21:20:25 GMT (envelope-from jrp@jrp.tiac.net) Received: from jrp.tiac.net (jrp@localhost [127.0.0.1]) by pentium.localnet (8.8.7/8.8.7) with ESMTP id RAA01240 for ; Wed, 1 Jul 1998 17:10:03 -0400 Message-Id: <199807012110.RAA01240@pentium.localnet> Date: Wed, 1 Jul 1998 17:10:00 -0400 (EDT) Reply-To: jrp@jrp.tiac.net Subject: Re: exception handling bug in 2.0.34 To: axp-list@redhat.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII On 1 Jul, Chris Evans wrote: > > On Wed, 1 Jul 1998, Greg Lindahl wrote: > >> In 2.0.34, this program dies with a floating-point exception. While >> this is far superior to killing the machine, it is still >> sub-optimal. We believe this is a correct program; we have many >> programs that don't use fp that pass our test suite. > > Can you try 2.0.35pre3 + alpha-patch, both in > ftp.uk.linux.org/pub/linux/alan > > Some alpha-related FP ieee fixes are included in these patches I believe. Also, what version of the compiler are you using, and are you converting floats to ints? The reason I ask is that gcc has a bug in the conversion code such that it does not generate the software-completion flags for "cvttq" instructions. This means that even if you specify "-mieee" the conversions can still generate SIGFPEs. This bug has been fixed in later versions of egcs. -- Jim Paradis jrp@jrp.tiac.net "The early bird gets the worm. http://www.tiac.net/users/jrp/index.html If you want something else for breakfast, get up later."