Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jim Paradis <paradis@linux01.hlo.dec.com>
To: axp-list@redhat.com
Subject: Re: denorms on the alpha - confusion...
Date: Mon, 20 Jul 1998 18:18:54 -0400 (EDT)	[thread overview]
Message-ID: <199807202218.SAA00835@linux01.hlo.dec.com> (raw)
In-Reply-To: <Pine.LNX.3.95.980720222243.5140A-100000@nautilus.phys.soton.ac.uk> from "Phil Marsden" at Jul 20, 98 10:27:02 pm

> 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


  reply	other threads:[~1998-07-20 22:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-20 19:24 denorms on the alpha Greg Lindahl
1998-07-20 20:24 ` Jim Paradis
1998-07-20 20:37 ` Wes Bauske
1998-07-20 22:27   ` denorms on the alpha - confusion Phil Marsden
1998-07-20 22:18     ` Jim Paradis [this message]
1998-07-21  9:05       ` Richard Henderson
1998-07-21 10:44         ` Phil Marsden
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox