Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Phillip Ezolt <ezolt@perf.zko.dec.com>
To: axp-list@redhat.com
Subject: Re: SIGFPE error on exponential underflow in g77
Date: Mon, 8 Mar 1999 16:47:24 -0500 (EST)	[thread overview]
Message-ID: <Pine.OSF.3.96.990308163517.13379J-100000@perf.zko.dec.com> (raw)
In-Reply-To: <199903082013.PAA16242@adder.cs.Virginia.EDU>

Well,
	If it's broken, let's fix it.  How does the complier tell the library 
that the code was compiled with -mieee?    What isn't it doing the right
thing, and what exactly IS the right thing? 

In an ideal world: 

1) program compiled with -mieee
Slow, but can handle denorms correctly.

2) program compiled without -mieee.
Fast, but rounds to zero on small numbers. 

To get rid of the FPEs associated with denorms, we can either 
1) Never Generate them
2) Once generated, handle them with kid gloves. 

libffm, and libcplm does the first.

It seems that libm does the second, assuming gcc/egcs will generate codes to
handle the denorms.  If this is really the way to go, it looks like a compiler
bug.  

Comments?

--Phil

Digital/Compaq: High Performance Servers/Benchmark Performance Engineering
Phillip.Ezolt@compaq.com                            ezolt@perf.zko.dec.com


On Mon, 8 Mar 1999, Greg Lindahl wrote:

> > Isn't that what -mieee is supposed to do? 
> 
> Yes. But today the library ignores -mieee; libm always returns denorms
> and libcpml and libffm never return denorms. Whoops.
> 
> -- g
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 
> 


  reply	other threads:[~1999-03-08 21:53 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-04 22:02 SIGFPE error on exponential underflow in g77 Dave Arnett
1999-03-04 22:40 ` Andrei A. Dergatchev
1999-03-04 22:56 ` Greg Lindahl
1999-03-04 23:06 ` Joachim Wesner
1999-03-05 13:11   ` Greg Lindahl
1999-03-05 15:57     ` Dave Arnett
1999-03-05 16:24       ` Greg Lindahl
1999-03-05 22:08         ` Phillip Ezolt
1999-03-05 22:56           ` Alpa Processor no longer Number one :( Aaron
1999-03-05 22:27             ` Alpa Processor no longer Number one, nonsense phoenix2063
1999-03-05 23:35               ` Ron Farrer
1999-03-06 17:46               ` Kevin.Brown
1999-03-06 19:02                 ` mgraffam
1999-03-06 21:21                   ` Joachim Wesner
1999-03-06 21:47                     ` mgraffam
1999-03-06 22:22                       ` Kevin
1999-03-08 10:20               ` Jochen Kuepper
1999-04-09 12:35                 ` Michael Wilhelm
1999-03-05 23:07             ` Alpa Processor no longer Number one :( Andrew Hobgood
1999-03-05 23:11             ` Greg Lindahl
1999-03-05 23:18             ` Ron Farrer
1999-03-06 14:28               ` Aaron
1999-03-06  0:02             ` Dan O'Reilly
1999-03-06  1:00             ` Guide to life, love, and Intel marketing techniques (Alpa Processor no longer...) Daniel J. Frasnelli
1999-03-08 11:24             ` Alpa Processor no longer Number one :( Phil Carmody
1999-03-07 22:00           ` SIGFPE error on exponential underflow in g77 Greg Lindahl
1999-03-08  6:51             ` Wes Bauske
1999-03-08 13:19               ` Greg Lindahl
1999-03-09  7:31               ` Neil Carlson
1999-03-08 20:23                 ` Wes Bauske
1999-03-08 21:26                   ` Joachim Wesner
1999-03-08 18:00 ` Dave Arnett
1999-03-08 18:31   ` Greg Lindahl
1999-03-08 19:30     ` Phillip Ezolt
1999-03-08 20:13       ` Greg Lindahl
1999-03-08 21:47         ` Phillip Ezolt [this message]
1999-03-08 21:58           ` Dave Arnett
1999-03-13 17:13           ` Richard Henderson
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