From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31718 invoked from network); 20 Jul 1998 22:26:22 -0000 Received: from mail13.digital.com (192.208.46.30) by mail2.redhat.com with SMTP; 20 Jul 1998 22:26:22 -0000 Received: from us1rmc.bb.dec.com (us1rmc.bb.dec.com [16.57.16.6]) by mail13.digital.com (8.8.8/8.8.8/WV1.0f) with SMTP id SAA24016 for ; Mon, 20 Jul 1998 18:26:21 -0400 (EDT) Received: from linux01.hlo.dec.com by us1rmc.bb.dec.com (5.65/rmc-17Jan97) id AA24947; Mon, 20 Jul 98 18:21:07 -0400 Received: (from paradis@localhost) by linux01.hlo.dec.com (8.8.7/8.8.7) id SAA00835 for axp-list@redhat.com; Mon, 20 Jul 1998 18:18:55 -0400 From: Jim Paradis Message-Id: <199807202218.SAA00835@linux01.hlo.dec.com> Subject: Re: denorms on the alpha - confusion... To: axp-list@redhat.com Date: Mon, 20 Jul 1998 18:18:54 -0400 (EDT) In-Reply-To: from "Phil Marsden" at Jul 20, 98 10:27:02 pm X-Mailer: ELM [version 2.4 PL25] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > I have a peice of code which uses one of Numerical Recipies ODE > integration routines (the one with the clever step size). Works fine on an > intel box, but when run on the alpha, even with -mieee it produces a > floating point exception. Which version of redhat and gcc are you using? There was a bug in gcc where it did not handle cvttq instructions correctly, even with -mieee enabled. This bug was fixed in egcs. What you should do is compile the code with -mieee, then run it under gdb and catch the sigfpe. Then take the faulting PC and disassemble the dozen instructions around it and see if you can spot a likely candidate (e.g. a floating point instruction that does not have the "/s" flag specified). Let us know what you find. -- Jim Paradis (paradis@linux01.hlo.dec.com) "The early bird gets the worm. Compaq Computer Corporation If you want something else for (508)841-3243 breakfast, get up later." http://www.tiac.net/users/jrp/index.html