Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: PovRay
Date: Thu, 09 Jul 1998 21:36:19 +0000	[thread overview]
Message-ID: <35A537D3.D36E7AC9@paralleldata.com> (raw)
In-Reply-To: 199807091837.OAA23474@horizon.ess.sunysb.edu

Aakin Patel wrote:
> 
> >
> > Aakin Patel wrote:
> > >
> > > >
> > > > Aakin Patel wrote:
> > > > >
> > > > > Hello.
> > > > >
> > > > > MY alpha has this overwhelming tendency to have floating point exceptions
> > > > > in Povray, as well as with a few other heavy math operations. Has anyone
> > > > > else experienced something similar to this, and if they have, do they have
> > > > > any ideas as to what may be causing the problem?
> > > >
> > > > Try adding -mieee to the compile flags.
> > > >
> > > > Dave
> > >
> > > I compiled it with -mieee originally. That isn't the problem, as far as i
> > > can tell.
> >
> > Thought the previous discussion said the kernel level can make
> > a difference on how well fp exceptions work.
> >
> >
> 
> Hmm. From what I've noticed, the program crashes with the flag, as well as
> without, which is what lead me to think that isn't the problem.. I not
> really sure, though. If you have a suggestion, I'm willing to try it.
> 

When I get FPE's on my own code, I run it in gdb and see
what array is screwed up and fix it... Most FPE's are not
normal parts of an algorithm. Underflows are the only
exception I've found in my own codes that are expected.

If your povray run isn't too big, might try gdb and see
what got screwed up. From what I can tell, by default,
underflows are handled in HW. You use -mieee to insert
suffixes and trapb's on/around instructions with possible
error situations. Then, the kernel gets control and
fixes it up. Someone with more compiler knowledge
is welcome to correct me if I'm mis-stating what is
going on. 

If you're using RH5.0, and you can make a tarball of the
povray program and your input to it, I can run it on
my PC164lx and see what's wrong. Actually, a tarball of
povray source and your test case, if not too big would
work better. Send it off line though. 


Wes


  reply	other threads:[~1998-07-09 21:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-09 15:53 PovRay Aakin Patel
1998-07-09 16:23 ` PovRay David Alan Gilbert
1998-07-09 17:00   ` PovRay Aakin Patel
1998-07-09 17:47     ` PovRay Jeff Sturm
1998-07-09 18:19       ` PovRay Aakin Patel
1998-07-09 18:12     ` PovRay Wes Bauske
1998-07-09 18:37       ` PovRay Aakin Patel
1998-07-09 21:36         ` Wes Bauske [this message]
1998-07-09 21:44           ` PovRay Aakin Patel
1998-07-10 13:24 ` PovRay Christian Worley
     [not found] <33AE0360.2591@sk.sympatico.ca>
1997-06-23 21:37 ` Povray Anthony Pardini
  -- strict thread matches above, loose matches on Subject: below --
1997-06-23  5:03 Povray Geoff Shukin
1997-06-23  3:04 PovRay Geoff Shukin
1996-09-05 19:00 POVRay Torsten Zirzlaff
1996-09-04 23:31 POVRay David Mosberger-Tang
1996-09-05  2:52 ` POVRay Andreas Johansson
1996-09-04 19:17 POVRay Torsten Zirzlaff
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