* SIGFPE error on exponential underflow in g77
@ 1999-03-04 22:02 Dave Arnett
1999-03-04 22:40 ` Andrei A. Dergatchev
` (3 more replies)
0 siblings, 4 replies; 38+ messages in thread
From: Dave Arnett @ 1999-03-04 22:02 UTC (permalink / raw)
To: axp-list
Hardware: Alpha, Aspen Systems Durango II, Samsung 21164A-533
Software: RH 5.2 (alpha), egcs-1.0.3, version 2.90.29
Can someone please tell me exactly where to find information on
dealing with the following problem?
g77 dumps core upon giving the exponential function a value less than
-708 (double precision). However it politely sets to zero a product
which underflows.
f2c behaves the same.
Code in C which performs the same mathematics, using gcc with the same
hardware, quietly sets the underflow from the exponential function
to zero. (No, I cannot rewrite all the code in C in a finite time).
On an intel, RH 5.1, the exponential function politely goes to zero on
underflow, as I would like.
I compiled and installed a newer release, egcs-1.1.1 version 2.91.60,
which gave the same behavior.
How can I modify this behavior upon exponential underflow?
--
David Arnett
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
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
` (2 subsequent siblings)
3 siblings, 0 replies; 38+ messages in thread
From: Andrei A. Dergatchev @ 1999-03-04 22:40 UTC (permalink / raw)
To: axp-list
Hi,
It must go to FAQ already :-)
I'd suggest you to look in the list archives like at
http://www.lib.uaa.alaska.edu/axp-list/
(for example check a thread starting from here:
http://www.lib.uaa.alaska.edu/axp-list/archive/1999-02/0562.html)
As far as I get the problem there is no complete solution yet
but -mieee in a proper enviroment must take care about it.
Rgds,
Andrei
[snip]
> g77 dumps core upon giving the exponential function a value less than
> -708 (double precision). However it politely sets to zero a product
> which underflows.
[snip]
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
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-08 18:00 ` Dave Arnett
3 siblings, 0 replies; 38+ messages in thread
From: Greg Lindahl @ 1999-03-04 22:56 UTC (permalink / raw)
To: axp-list
> Code in C which performs the same mathematics, using gcc with the same
> hardware, quietly sets the underflow from the exponential function
> to zero. (No, I cannot rewrite all the code in C in a finite time).
This is a little different problem from usual. I suspect that g77 and
f2c are both using some kind of wrapper around the libm exp()
function, and this wrapper was compiled without -mieee, and it
does something stupid.
-- g
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
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-08 18:00 ` Dave Arnett
3 siblings, 1 reply; 38+ messages in thread
From: Joachim Wesner @ 1999-03-04 23:06 UTC (permalink / raw)
To: axp-list
Dave Arnett wrote:
>
> Hardware: Alpha, Aspen Systems Durango II, Samsung 21164A-533
> Software: RH 5.2 (alpha), egcs-1.0.3, version 2.90.29
>
> Can someone please tell me exactly where to find information on
> dealing with the following problem?
>
> g77 dumps core upon giving the exponential function a value less than
> -708 (double precision). However it politely sets to zero a product
> which underflows.
>
> f2c behaves the same.
>
> Code in C which performs the same mathematics, using gcc with the same
> hardware, quietly sets the underflow from the exponential function
> to zero. (No, I cannot rewrite all the code in C in a finite time).
>
> On an intel, RH 5.1, the exponential function politely goes to zero on
> underflow, as I would like.
>
> I compiled and installed a newer release, egcs-1.1.1 version 2.91.60,
> which gave the same behavior.
>
> How can I modify this behavior upon exponential underflow?
>
Andrei A. Dergatchev wrote:
>
> It must go to FAQ already :-)
>
> I'd suggest you to look in the list archives like at
> http://www.lib.uaa.alaska.edu/axp-list/
>
> (for example check a thread starting from here:
> http://www.lib.uaa.alaska.edu/axp-list/archive/1999-02/0562.html)
> As far as I get the problem there is no complete solution yet
> but -mieee in a proper enviroment must take care about it.
If you can really isolate this problem to the case when using exp, you
don't need to go back to -mieee (which slows down your code quite a
bit), but simply need a new math library.
Try to link with libffm (i.e. -lffm, but first you have to make the
library) from
http://people.frankfurt.netsurf.de/Joachim.Wesner
(Sorry, there are noew some dynamic library version make files of it out
there, it's not yet updated)
or even use the brand new, faster, better, larger (?) free Compaq
(formerly DEC) libm from
http://www.unix.digital.com/linux/cpml.0.1.tar.gz
Those should take care of the overflow probs and even speed up your
program
Joachim
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-04 23:06 ` Joachim Wesner
@ 1999-03-05 13:11 ` Greg Lindahl
1999-03-05 15:57 ` Dave Arnett
0 siblings, 1 reply; 38+ messages in thread
From: Greg Lindahl @ 1999-03-05 13:11 UTC (permalink / raw)
To: axp-list
> If you can really isolate this problem to the case when using exp, you
> don't need to go back to -mieee (which slows down your code quite a
> bit), but simply need a new math library.
No. Fortran and C use the same underlying math library. He said
that the same value did not give a SIGFPE from a C program. Thus,
the guilty party has to be the f2c/g77 glue arond the libm exp(), and
not the libm exp().
Of course, he can easily experiment and prove this, by using one of
the alternate libraries you mention.
-- g
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-05 13:11 ` Greg Lindahl
@ 1999-03-05 15:57 ` Dave Arnett
1999-03-05 16:24 ` Greg Lindahl
0 siblings, 1 reply; 38+ messages in thread
From: Dave Arnett @ 1999-03-05 15:57 UTC (permalink / raw)
To: axp-list
>>If you can really isolate this problem to the case when using exp, you
>> don't need to go back to -mieee (which slows down your code quite a
>> bit), but simply need a new math library.
>No. Fortran and C use the same underlying math library. He said
>that the same value did not give a SIGFPE from a C program. Thus,
>the guilty party has to be the f2c/g77 glue arond the libm exp(), and
>not the libm exp().
>Of course, he can easily experiment and prove this, by using one of
>the alternate libraries you mention.
>-- g
Yeah, I really did isolate the problem; that was how I made the Fortran
to C comparison (the codes were just a few lines).
I have the two libraries and will test it this weekend.
Assuming it goes as you (and I) expect, how do we deal with the
f2c/g77 glue?
Dave Arnett
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-05 15:57 ` Dave Arnett
@ 1999-03-05 16:24 ` Greg Lindahl
1999-03-05 22:08 ` Phillip Ezolt
0 siblings, 1 reply; 38+ messages in thread
From: Greg Lindahl @ 1999-03-05 16:24 UTC (permalink / raw)
To: axp-list
> I have the two libraries and will test it this weekend.
> Assuming it goes as you (and I) expect, how do we deal with the
> f2c/g77 glue?
Someone needs to look at the source of just the glue routine, and
decide if it doing something useful and needs -mieee when compiled,
or if it is doing excess work and needs to get cut down.
-- g
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
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-07 22:00 ` SIGFPE error on exponential underflow in g77 Greg Lindahl
0 siblings, 2 replies; 38+ messages in thread
From: Phillip Ezolt @ 1999-03-05 22:08 UTC (permalink / raw)
To: axp-list; +Cc: henning
On Fri, 5 Mar 1999, Greg Lindahl wrote:
> Someone needs to look at the source of just the glue routine, and
> decide if it doing something useful and needs -mieee when compiled,
> or if it is doing excess work and needs to get cut down.
>
> -- g
>
There may be something more tricky than simply compiling the glue routine
with -mieee.
I have found that GNU libm actually returns denormalized numbers (VERY
VERY small numbers) when ffm and cpml actually round this to zero.
Consider the following program:
#include <math.h>
main()
{
double y;
double x=-744.07568359375;
y = exp(x);
printf("%g\n", y);
printf("%g\n", x);
}
[spec@csg150 cpml.0.1]$ gcc -o test_exp_libm test_exp.c -lm
[spec@csg150 cpml.0.1]$ ./test_exp_libm
4.94066e-324
-744.076
[spec@csg150 cpml.0.1]$ gcc -o test_exp_libm_mieee test_exp.c -mieee -lm
[spec@csg150 cpml.0.1]$ ./test_exp_libm_mieee
4.94066e-324
-744.076
[spec@csg150 cpml.0.1]$ gcc -o test_exp_ffm test_exp.c -lffm
[spec@csg150 cpml.0.1]$ ./test_exp_ffm
0
-744.076
[spec@csg150 cpml.0.1]$ gcc -o test_exp_cpml test_exp.c -lcpml
[spec@csg150 cpml.0.1]$ ./test_exp_cpml
0
-744.076
(libm is glibc-2.0.7-29 )
(cpml is cpml.0.1)
(libffm is libffm.0.28 )
(gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release) )
Libm returns a very small number instead of zero. It does not matter whether
or not -mieee is used. It returns a denormalized number which fits into a
double, and the program will work, for a while. However, you will immediately
get a Floating Point Exception and a core dump when you try to change this
into a single precision number.
What is deceiving about this whole process is that you can happly get
a denormalized number, and then a hundreds of cycles later you get an FPE.
If you are experiencing trouble with this, it would be in your best interest
to link in either the CPML or the FFM. First, they are MUCH faster than (on
some things) than libm, and they both seem to round to zero appropriately.
I am not sure how to trick g77 to use libffm or libcpml instead of libm, but
it is definately worth it to find out.
--Phil
Digital/Compaq: High Performance Servers/Benchmark Performance Engineering
Phillip.Ezolt@compaq.com ezolt@perf.zko.dec.com
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one, nonsense.
1999-03-05 22:56 ` Alpa Processor no longer Number one :( Aaron
@ 1999-03-05 22:27 ` phoenix2063
1999-03-05 23:35 ` Ron Farrer
` (2 more replies)
1999-03-05 23:07 ` Alpa Processor no longer Number one :( Andrew Hobgood
` (5 subsequent siblings)
6 siblings, 3 replies; 38+ messages in thread
From: phoenix2063 @ 1999-03-05 22:27 UTC (permalink / raw)
To: axp-list
Aaron,
You need to quit listening to Intel FUD. First off, you can get alphas at
667mhz. right now. and 700 now/soon? not sure which.
As for Intel's claim of having the first 1ghz. cpu, that is pure BS. Alpha had
shown a 1ghz. processor slated for deliver this year or early next year months
ago. The Intel chip is still years off from being a marketable product. I
believe they were bragging 2001, 2002 or something like that.
The Alpha chip will be within a year.
Aaron wrote:
> Intel showed a 1000 MHz chip, and it's so flustrating to see the superior
> alpha fall/lag behind. How long has the alpha been at 500 MHz and with
> chips that were produced with the .35 micron process???? (imagine them at
> .18?)
>
> I sure do hope the IBM fabs get geared up soon. I'd really like to kick
> some Intel butt. It was pretty fun back in "the day" to go faster when
> the P75 was the hot intel offering, now with the PIII 500 MHz whats an
> alpha lover to do??
^ permalink raw reply [flat|nested] 38+ messages in thread
* Alpa Processor no longer Number one :(
1999-03-05 22:08 ` Phillip Ezolt
@ 1999-03-05 22:56 ` Aaron
1999-03-05 22:27 ` Alpa Processor no longer Number one, nonsense phoenix2063
` (6 more replies)
1999-03-07 22:00 ` SIGFPE error on exponential underflow in g77 Greg Lindahl
1 sibling, 7 replies; 38+ messages in thread
From: Aaron @ 1999-03-05 22:56 UTC (permalink / raw)
To: axp-list
Intel showed a 1000 MHz chip, and it's so flustrating to see the superior
alpha fall/lag behind. How long has the alpha been at 500 MHz and with
chips that were produced with the .35 micron process???? (imagine them at
.18?)
I sure do hope the IBM fabs get geared up soon. I'd really like to kick
some Intel butt. It was pretty fun back in "the day" to go faster when
the P75 was the hot intel offering, now with the PIII 500 MHz whats an
alpha lover to do??
\--------------------------------------------------------------------------/
\ Aaron Gee AKA Spdracer /
\"Maseratis are more than cars, they are a passion that is understood /
\by some, but enjoyed by a very few" /
\URL---> http://www.italian-cars.com /
\e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 /
\--------------------------------------------------------------/
\ | /
\_|_/
(---)
0
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one :(
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:07 ` Andrew Hobgood
1999-03-05 23:11 ` Greg Lindahl
` (4 subsequent siblings)
6 siblings, 0 replies; 38+ messages in thread
From: Andrew Hobgood @ 1999-03-05 23:07 UTC (permalink / raw)
To: axp-list
> Intel showed a 1000 MHz chip, and it's so flustrating to see the superior
> alpha fall/lag behind. How long has the alpha been at 500 MHz and with
> chips that were produced with the .35 micron process???? (imagine them at
> .18?)
Last I checked, DEC exhibited a 1GHz AXP CPU a few months ago.
Also, the 21264's are already planning on breaking the 1GHz barrier (look
at the press releases on Compaq/DEC's site).
/Andrew
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one :(
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:07 ` Alpa Processor no longer Number one :( Andrew Hobgood
@ 1999-03-05 23:11 ` Greg Lindahl
1999-03-05 23:18 ` Ron Farrer
` (3 subsequent siblings)
6 siblings, 0 replies; 38+ messages in thread
From: Greg Lindahl @ 1999-03-05 23:11 UTC (permalink / raw)
To: axp-list
> Intel showed a 1000 MHz chip, and it's so flustrating to see the superior
> alpha fall/lag behind.
Intel showed a one-off demo. You can do the same with Alphas. Said
Intel one-off probably has a slower SPECfp than today's 21264.
> How long has the alpha been at 500 MHz and with
> chips that were produced with the .35 micron process???? (imagine them at
> .18?)
You could buy faster Alphas a long time ago. We won't even mention
that the 21264 gets a significantly higher SPECmark even though it
showed up at a similar clock to the 21264.
> now with the PIII 500 MHz whats an
> alpha lover to do??
Not get hysterical?
-- g
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one :(
1999-03-05 22:56 ` Alpa Processor no longer Number one :( Aaron
` (2 preceding siblings ...)
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
` (2 subsequent siblings)
6 siblings, 1 reply; 38+ messages in thread
From: Ron Farrer @ 1999-03-05 23:18 UTC (permalink / raw)
To: axp-list
On Fri, 5 Mar 1999, Aaron wrote:
>
>
> Intel showed a 1000 MHz chip, and it's so flustrating to see the superior
> alpha fall/lag behind. How long has the alpha been at 500 MHz and with
> chips that were produced with the .35 micron process???? (imagine them at
> .18?)
>
>
> I sure do hope the IBM fabs get geared up soon. I'd really like to kick
> some Intel butt. It was pretty fun back in "the day" to go faster when
> the P75 was the hot intel offering, now with the PIII 500 MHz whats an
> alpha lover to do??
*sigh*, MHz NOT = Mhz. The 21264 @ 500MHz is about the same speed as the
21164 @ 1GHz... We are suppose to have a 1.1GHz 21264 THIS year. A 21264
at the same MHz as a PII/III is still faster (int) and way faster at fp.
When is this 1GHz Pentium going to ship? Probably next year...
My figures are based on the ones published at www.spec.org
Regards,
Ron
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one, nonsense.
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-08 10:20 ` Jochen Kuepper
2 siblings, 0 replies; 38+ messages in thread
From: Ron Farrer @ 1999-03-05 23:35 UTC (permalink / raw)
To: axp-list
Just to add what was said below...
I remember a rumor back in the summer 1997, that DEC had a 1GHz Alpha
running in lab, whether that was true or not I don't know. But just
because intel says the world revolves around intel, that doesn't make it
true.
JMHO,
Ron Farrer
On Fri, 5 Mar 1999 phoenix2063@earthlink.net wrote:
> Aaron,
>
> You need to quit listening to Intel FUD. First off, you can get alphas at
> 667mhz. right now. and 700 now/soon? not sure which.
>
> As for Intel's claim of having the first 1ghz. cpu, that is pure BS. Alpha had
> shown a 1ghz. processor slated for deliver this year or early next year months
> ago. The Intel chip is still years off from being a marketable product. I
> believe they were bragging 2001, 2002 or something like that.
>
> The Alpha chip will be within a year.
>
>
>
>
> Aaron wrote:
>
> > Intel showed a 1000 MHz chip, and it's so flustrating to see the superior
> > alpha fall/lag behind. How long has the alpha been at 500 MHz and with
> > chips that were produced with the .35 micron process???? (imagine them at
> > .18?)
> >
> > I sure do hope the IBM fabs get geared up soon. I'd really like to kick
> > some Intel butt. It was pretty fun back in "the day" to go faster when
> > the P75 was the hot intel offering, now with the PIII 500 MHz whats an
> > alpha lover to do??
>
> --
> 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
>
>
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one :(
1999-03-05 22:56 ` Alpa Processor no longer Number one :( Aaron
` (3 preceding siblings ...)
1999-03-05 23:18 ` Ron Farrer
@ 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
6 siblings, 0 replies; 38+ messages in thread
From: Dan O'Reilly @ 1999-03-06 0:02 UTC (permalink / raw)
To: axp-list, axp-list
DEC was running a 1GHz chip 8 months ago in the lab...that's WAY ahead
of Intel. In fact, the latest roadmap I saw (just 2 days ago) shows
a 1.4GHz chip the end of next year IN PRODUCTION. Intel ain't gonna
come close...
At 05:56 PM 3/5/99 -0500, Aaron wrote:
>
>
>Intel showed a 1000 MHz chip, and it's so flustrating to see the superior
>alpha fall/lag behind. How long has the alpha been at 500 MHz and with
>chips that were produced with the .35 micron process???? (imagine them at
>.18?)
>
>
>I sure do hope the IBM fabs get geared up soon. I'd really like to kick
>some Intel butt. It was pretty fun back in "the day" to go faster when
>the P75 was the hot intel offering, now with the PIII 500 MHz whats an
>alpha lover to do??
------
+-------------------------------+---------------------------------------+
| Dan O'Reilly | "Outside a dog, a book is man's best |
| Process Software Corporation | friend. Inside a dog, it's too |
| Framingham, Mass | dark to read." |
| | -- Groucho Marx |
+-------------------------------+---------------------------------------+
^ permalink raw reply [flat|nested] 38+ messages in thread
* Guide to life, love, and Intel marketing techniques (Alpa Processor no longer...)
1999-03-05 22:56 ` Alpa Processor no longer Number one :( Aaron
` (4 preceding siblings ...)
1999-03-06 0:02 ` Dan O'Reilly
@ 1999-03-06 1:00 ` Daniel J. Frasnelli
1999-03-08 11:24 ` Alpa Processor no longer Number one :( Phil Carmody
6 siblings, 0 replies; 38+ messages in thread
From: Daniel J. Frasnelli @ 1999-03-06 1:00 UTC (permalink / raw)
To: axp-list; +Cc: Daniel J. Frasnelli
>Intel showed a 1000 MHz chip, and it's so flustrating to see the superior
>alpha fall/lag behind. How long has the alpha been at 500 MHz and with
>chips that were produced with the .35 micron process???? (imagine them at
>.18?)
No offense young Jedi, but I may have to use some of the logic you are
promoting as an organic fertilizer supplement this summer.
There are numerous flaws in your statement, but I'll pick out the most obvious
(anyone who's had a systems architecture course probably will want to stop
reading here :-)
1. Faster clock rate is not always better
Sounding the death dirge for the Alpha architecture because Intel
finally matches the clock rate DEC had achieved two (?) years ago with an x86
is foolish at best.
Architectures are not all created equal. Recall the 50Mhz Motorola 68040
provided as an upgrade to the stock Amiga 4000, which at 50MHz had overall
performance equal to the Pentium at 100MHz or 120MHz. Same could be said
about the SuperSPARC line.
On the other side of the coin, remember the Exponential (XP) processor
which promised to clean house in the consumer computer market? Their
design at 500Mhz was architecturally inferiour to the current x86 on the
market at the time on every operation (as I recall).
Quoting clock speed is more a tool of the marketing department
than the engineering dept. As far as architectural simplicity and beauty,
the Alpha has got x86 beat by a long shot.
2. Systems are complex, one variable does not determine overall performance
This is a bit of SGI philosophy I have adopted when evaluating a
system I've never touched before. You see, SGI recognized a long time back
that processor speed is not the limiting bottleneck for most applications.
This also is mentioned in Eric Raymond's now-outdated Linux hardware guide.
By speeding up things like the graphics subsystem, disk subsystem,
memory bus, etc. you are able to enhance overall usability and performance
by a wide margin.
3. An overclocked x86 with nitrogen cooling is still an x86
Intel has this nasty little habit of darn little variety and
virtually no innovation to speak of. Oh, they add 'multimedia' instructions
once in a blue moon but those are mostly of no consequence to Un*x users
(well, mpg123 can use the MMX/3Dnow! insn set). Intel relies on the
gullibility of the general populus to purchase their processors solely
on the image presented on the tele. Their marketing team and
Hired Chimpanzees In Spacesuits (HCIS at Intel Corp.) are extremely
effective at selling the unsuspecting person a processor which
performs no more than 5% better than the last generation chip,
but retails at 300% the price of the prior product.
>I sure do hope the IBM fabs get geared up soon. I'd really like to kick
>some Intel butt. It was pretty fun back in "the day" to go faster when
Who says we aren't kicking Intel butt right now? Check out some
of the links under "Hardware" at <http://www.alphalinux.org/>.
>the P75 was the hot intel offering, now with the PIII 500 MHz whats an
>alpha lover to do??
Not get sucked in by Intel marketing droids and stop acting
paranoid?
Best regards,
Daniel
--
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one :(
1999-03-05 23:18 ` Ron Farrer
@ 1999-03-06 14:28 ` Aaron
0 siblings, 0 replies; 38+ messages in thread
From: Aaron @ 1999-03-06 14:28 UTC (permalink / raw)
To: axp-list
Well GOOD!!
I'm not nearly as paranoid as my letter may have lead you to believe :),
needing to do lot of number crunching, alphas have always been my
favorites. Now I've got even more ammo the next time somone asks me WHY
I'm buying yet another alpha, Thanks.
\--------------------------------------------------------------------------/
\ Aaron Gee AKA Spdracer /
\"Maseratis are more than cars, they are a passion that is understood /
\by some, but enjoyed by a very few" /
\URL---> http://www.italian-cars.com /
\e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 /
\--------------------------------------------------------------/
\ | /
\_|_/
(---)
0
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one, nonsense.
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-08 10:20 ` Jochen Kuepper
2 siblings, 1 reply; 38+ messages in thread
From: Kevin.Brown @ 1999-03-06 17:46 UTC (permalink / raw)
To: axp-list
> As for Intel's claim of having the first 1ghz. cpu, that is pure BS. Alpha had
> shown a 1ghz. processor slated for deliver this year or early next year months
> ago. The Intel chip is still years off from being a marketable product. I
> believe they were bragging 2001, 2002 or something like that.
My dad works for Intel and he said that how they got the 1GHz was to cool the
entire system down to below freezing. The chip was a regular PIII 500.
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one, nonsense.
1999-03-06 17:46 ` Kevin.Brown
@ 1999-03-06 19:02 ` mgraffam
1999-03-06 21:21 ` Joachim Wesner
0 siblings, 1 reply; 38+ messages in thread
From: mgraffam @ 1999-03-06 19:02 UTC (permalink / raw)
To: axp-list
On Sat, 6 Mar 1999 Kevin.Brown@asu.edu wrote:
> My dad works for Intel and he said that how they got the 1GHz was to cool the
> entire system down to below freezing. The chip was a regular PIII 500.
:) Hehheh.. thereby admitting that overclocking a CPU is ok so long as you
cool it well.
Michael J. Graffam (mgraffam@idsi.net)
"If you die, you win.."
John Landry, statistics professor discussing life insurance
and probability
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one, nonsense.
1999-03-06 19:02 ` mgraffam
@ 1999-03-06 21:21 ` Joachim Wesner
1999-03-06 21:47 ` mgraffam
0 siblings, 1 reply; 38+ messages in thread
From: Joachim Wesner @ 1999-03-06 21:21 UTC (permalink / raw)
To: axp-list
mgraffam@idsi.net wrote:
>
> On Sat, 6 Mar 1999 Kevin.Brown@asu.edu wrote:
>
> > My dad works for Intel and he said that how they got the 1GHz was to cool the
> > entire system down to below freezing. The chip was a regular PIII 500.
>
> :) Hehheh.. thereby admitting that overclocking a CPU is ok so long as you
> cool it well.
>
Actually, I would think, it doesn't work very *long* under those
circumstances. Probably they tried it only for a few hours to make the
claim, I'd bet it won't last this way for weeks or even month.
JW
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one, nonsense.
1999-03-06 21:21 ` Joachim Wesner
@ 1999-03-06 21:47 ` mgraffam
1999-03-06 22:22 ` Kevin
0 siblings, 1 reply; 38+ messages in thread
From: mgraffam @ 1999-03-06 21:47 UTC (permalink / raw)
To: axp-list
On Sat, 6 Mar 1999, Joachim Wesner wrote:
> mgraffam@idsi.net wrote:
> > :) Hehheh.. thereby admitting that overclocking a CPU is ok so long as you
> > cool it well.
>
> Actually, I would think, it doesn't work very *long* under those
> circumstances. Probably they tried it only for a few hours to make the
> claim, I'd bet it won't last this way for weeks or even month.
Yeah, I agree. It's been awhile since I looked at the effects of
overclocking, but IIRC, the basic relationship is inversely exponential..
the higher you o/c, the less time the machine will work for.. with
the cooling affecting the derivative of the relationship.
I've been running my P5 (rated at 150 MHz) at 200 MHz happily for about
8 months or so. As soon as the price for 200 MHz CPU's dropped, I o/c'd
on the idea that if my proc dies, I can easily buy a new one.. and if it
lasts at 200 MHz long enough so that I simply can't get P5 processors
anymore, then I have gotten more than my money's worth.
Though, when it dies.. I'll be sad to see it go.. It's a classic jalopy
machine, hacked together from the remains of a few 386 and 486's ..
along with a few IDE drives that never did work quite right, and speedy
2x proprietary CDROM drive.. all of which is dumped into a full
tower case and glued together with Linux. Every variant of Windows
crashes pretty hard on it, but Linux works just fine ;)
I'd like to o/c my UDB .. but, that would be a really major chore. Once
I get a new Alpha, I'll o/c the UDB on principle, I guess.
Michael J. Graffam (mgraffam@idsi.net)
"Act only according to that maxim by which you can at the same time will that
it should become a universal law.." - Immanuel Kant "Metaphysics of Morals"
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one, nonsense.
1999-03-06 21:47 ` mgraffam
@ 1999-03-06 22:22 ` Kevin
0 siblings, 0 replies; 38+ messages in thread
From: Kevin @ 1999-03-06 22:22 UTC (permalink / raw)
To: axp-list
> > Actually, I would think, it doesn't work very *long* under those
> > circumstances. Probably they tried it only for a few hours to make the
> > claim, I'd bet it won't last this way for weeks or even month.
>
> Yeah, I agree. It's been awhile since I looked at the effects of
> overclocking, but IIRC, the basic relationship is inversely exponential..
> the higher you o/c, the less time the machine will work for.. with
> the cooling affecting the derivative of the relationship.
>
> I've been running my P5 (rated at 150 MHz) at 200 MHz happily for about
> 8 months or so. As soon as the price for 200 MHz CPU's dropped, I o/c'd
> on the idea that if my proc dies, I can easily buy a new one.. and if it
> lasts at 200 MHz long enough so that I simply can't get P5 processors
> anymore, then I have gotten more than my money's worth.
The lifespan of my Intel 200 MMX is supposed to last 75-80 years at it rated
speed and if properly cooled could last 10-15 years overclocked. I don't intend
to have the system for even 2 more years so if I wanted to overclock it I
wouldn't have to worry too much.
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-05 22:08 ` Phillip Ezolt
1999-03-05 22:56 ` Alpa Processor no longer Number one :( Aaron
@ 1999-03-07 22:00 ` Greg Lindahl
1999-03-08 6:51 ` Wes Bauske
1 sibling, 1 reply; 38+ messages in thread
From: Greg Lindahl @ 1999-03-07 22:00 UTC (permalink / raw)
To: axp-list; +Cc: henning
> If you are experiencing trouble with this, it would be in your best interest
> to link in either the CPML or the FFM. First, they are MUCH faster than (on
> some things) than libm, and they both seem to round to zero appropriately.
You seem to be assuming that zero is the "right answer". It is
if -mieee is not specified. But if -mieee is specified, then there
should be routines which return a denorm. I'm surprised that CPML
doesn't have such routines. (?)
If -mieee is specified, a preprocessor symbol is available. math.h
can use this to specify a different routine.
-- g
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
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
0 siblings, 2 replies; 38+ messages in thread
From: Wes Bauske @ 1999-03-08 6:51 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > If you are experiencing trouble with this, it would be in your best interest
> > to link in either the CPML or the FFM. First, they are MUCH faster than (on
> > some things) than libm, and they both seem to round to zero appropriately.
>
> You seem to be assuming that zero is the "right answer". It is
> if -mieee is not specified. But if -mieee is specified, then there
> should be routines which return a denorm. I'm surprised that CPML
> doesn't have such routines. (?)
>
Zero is the correct answer. If you think a denormal
provides useful algorithmic information, you're kidding
yourself.
Why would Digital/Compaq library routine writers do
something that doesn't make numerical sense? Whether you
push the result to zero after the exponent bits go to zero
or wait until there are no more bits in the mantissa, the results
to whatever equation you're calculating are highly unlikely
to have any significant difference.
Wes
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one, nonsense.
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-08 10:20 ` Jochen Kuepper
1999-04-09 12:35 ` Michael Wilhelm
2 siblings, 1 reply; 38+ messages in thread
From: Jochen Kuepper @ 1999-03-08 10:20 UTC (permalink / raw)
To: axp-list, phoenix2063, axp-list
On Fre, 05 Mär 1999 phoenix2063@earthlink.net wrote:
>Aaron,
>
>You need to quit listening to Intel FUD. First off, you can get alphas at
>667mhz. right now. and 700 now/soon? not sure which.
>
>As for Intel's claim of having the first 1ghz. cpu, that is pure BS. Alpha had
>shown a 1ghz. processor slated for deliver this year or early next year months
>ago.
Yeah, they actually showed a 800 MHz CPU at Cebit last March - one year ago !
Greetings,
Jochen
-----------------------------------------------------------------------
Jochen Küpper
Heinrich-Heine-Universität Düsseldorf jochen@uni-duesseldorf.de
Institut für Physikalische Chemie I
Universitätsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681
40225 Düsseldorf fax ++49-211-8115195
Germany http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one :(
1999-03-05 22:56 ` Alpa Processor no longer Number one :( Aaron
` (5 preceding siblings ...)
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 ` Phil Carmody
6 siblings, 0 replies; 38+ messages in thread
From: Phil Carmody @ 1999-03-08 11:24 UTC (permalink / raw)
To: axp-list
>>>>> "A" == Aaron <spdracer@america.com> writes:
A> Intel showed a 1000 MHz chip, and it's so flustrating to see the superior
A> alpha fall/lag behind. How long has the alpha been at 500 MHz and with
A> chips that were produced with the .35 micron process???? (imagine them at
A> .18?)
There's a big difference between a prototype and a product.
Or looking at it a different way, there's a differnece between a processor
and a system.
A> I sure do hope the IBM fabs get geared up soon. I'd really like to kick
A> some Intel butt. It was pretty fun back in "the day" to go faster when
A> the P75 was the hot intel offering, now with the PIII 500 MHz whats an
A> alpha lover to do??
Use FP a lot. Int has never been Alpha's particular speciality.
And Bang per buck always has had Intel on the throne.
Phil
These stories from The Register.
----------------------------------------------------------------
High-end Alpha spreads like Wildfire
Further confirmation that Compaq is pushing ahead using Alpha as a
high end system is likely to provoke fear and loathing at Intel.
According to our mole deep down in Compaq's skunkworks, the company is
set to demonstrate Win64 running on Alpha in the very near future.
Further, Compaq has successfully booted a Wildfire system, the same
source said. Wildfire is likely to be announced before Christmas in a
16 CPU version, with a 32-way system available next year. The CPU will
be the EV67.
And Compaq is also benchmarking 667MHz EV6 TurboLasers, with initial
benchmarks showing blazing speeds.
Intel marketeers in Santa Clara are now likely to be anxiously
scratching their heads and wondering about Compaq's dual 64-bit
strategy. =AE
----------------------------------------------------------------
Alpha chip to clock 1.4GHz in copper
Details of the Alpha roadmap leaked to The Register show how serious
the consortium is in its attempt to give Intel a run for its money.
Samsung and API will move to a .13 micron process in 2001, while the
EV68 platform, using aluminium interconnects, will achieve a one
gigahertz clock rate by the end of this year.
That will be followed by a copper version of the EV68 platform which
will have a clock speed of 1100MHz, also by the end of this year.
Towards the end of next year, the consortium will introduce the EV7
copper platform, with clock speeds of 1100MHz, while the EV8 copper
platform is likely to arrive in 2001 with clock frequencies of
1400MHz.
API itself will make 1-2, 1-4, and 1-8 way Alpha boards. The 264DP and
164LX/UX platforms will be replaced later this year with Slot B (K7
and Alpha compatible) boards, as revealed here earlier.
There will be a new uniprocessor board based on the AMD-developed
Irongate support chip instead of the current DEC Pyxis [and Tsunami - awg]
chipset.
Our source scoffed at Intel senior VP's suggestion that the Alpha
could not succeed because Compaq could not afford the fab
investment. That problem, he said, is solved by the Alpha
consortium. =AE
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-08 6:51 ` Wes Bauske
@ 1999-03-08 13:19 ` Greg Lindahl
1999-03-09 7:31 ` Neil Carlson
1 sibling, 0 replies; 38+ messages in thread
From: Greg Lindahl @ 1999-03-08 13:19 UTC (permalink / raw)
To: axp-list
> Zero is the correct answer. If you think a denormal
> provides useful algorithmic information, you're kidding
> yourself.
That's nice. Go corner a numerical type if you want to understand why
denorms are in the IEEE standard. My personal favorite algorithms
don't use them, but that doesn't mean no one should ever use them.
> Why would Digital/Compaq library routine writers do
> something that doesn't make numerical sense?
To match the compiler writers, who did a lot of work to get -mieee
to work correctly.
Tell you what: I won't tell you how to do your mathetmatics, if you
will stop telling everone else how to do theirs.
-- g
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-04 22:02 SIGFPE error on exponential underflow in g77 Dave Arnett
` (2 preceding siblings ...)
1999-03-04 23:06 ` Joachim Wesner
@ 1999-03-08 18:00 ` Dave Arnett
1999-03-08 18:31 ` Greg Lindahl
3 siblings, 1 reply; 38+ messages in thread
From: Dave Arnett @ 1999-03-08 18:00 UTC (permalink / raw)
To: axp-list
>
> Hardware: Alpha, Aspen Systems Durango II, Samsung 21164A-533
> Software: RH 5.2 (alpha), egcs-1.0.3, version 2.90.29
>
> Can someone please tell me exactly where to find information on
> dealing with the following problem?
>
> g77 dumps core upon giving the exponential function a value less than
> -708 (double precision). However it politely sets to zero a product
> which underflows.
>
> f2c behaves the same.
>
> Code in C which performs the same mathematics, using gcc with the same
> hardware, quietly sets the underflow from the exponential function
> to zero. (No, I cannot rewrite all the code in C in a finite time).
>
> On an intel, RH 5.1, the exponential function politely goes to zero on
> underflow, as I would like.
>
> I compiled and installed a newer release, egcs-1.1.1 version 2.91.60,
> which gave the same behavior.
>
> How can I modify this behavior upon exponential underflow?
>
> --
We have a solution (and a puzzle). First, thanks to all who responded
so quickly and relevantly; for a newbie like me this was an eye-opener.
Solution: link libffm or libcpml
I first used libffm because of Joachim Wesner's clean description of
what to do, from
http://people.frankfurt.netsurf.de/Joachim.Wesner
I also tried the compact portable math library, from
http://www.unix.digital.com/linux/cpml.0.1.tar.gz
Both worked beautifully, and reduced my compute time to 70 percent
of the previous value. FYI, libffm was about 98 percent as fast as cpml,
on my code mix, without tuning.
Thus
g77 default lib(-lm?) wrapper SIGFPE
gcc -lm OK
g77 -lfmm wrapper OK
g77 -cpml wrapper OK
So the puzzle is why it seems to be the interaction between
the g77 wrapper and lm which gives the error. I use "error" because for
the physics of my simulation, exp(- big number ) should --> zero; but I
agree with Greg Lindahl that it occasionally might be useful to know
when underflows happen, for algorithmic development.
Cheers,
Dave
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-08 18:00 ` Dave Arnett
@ 1999-03-08 18:31 ` Greg Lindahl
1999-03-08 19:30 ` Phillip Ezolt
0 siblings, 1 reply; 38+ messages in thread
From: Greg Lindahl @ 1999-03-08 18:31 UTC (permalink / raw)
To: axp-list
> g77 default lib(-lm?) wrapper SIGFPE
> gcc -lm OK
> g77 -lfmm wrapper OK
> g77 -cpml wrapper OK
>
This confirms my guess -- ffm and cpml never return denormals,
so the g77 wrapper doesn't have a problem with them. Fortunately or
unfortunately, we don't have to worry about a proper fix, since
libffm and libcpml never return denormals. Ideally there would
be a compiler switch which made user code and the libraries all
deal with denormals.
-- g
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-08 18:31 ` Greg Lindahl
@ 1999-03-08 19:30 ` Phillip Ezolt
1999-03-08 20:13 ` Greg Lindahl
0 siblings, 1 reply; 38+ messages in thread
From: Phillip Ezolt @ 1999-03-08 19:30 UTC (permalink / raw)
To: axp-list
Isn't that what -mieee is supposed to do?
--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:
> > g77 default lib(-lm?) wrapper SIGFPE
> > gcc -lm OK
> > g77 -lfmm wrapper OK
> > g77 -cpml wrapper OK
> >
>
> This confirms my guess -- ffm and cpml never return denormals,
> so the g77 wrapper doesn't have a problem with them. Fortunately or
> unfortunately, we don't have to worry about a proper fix, since
> libffm and libcpml never return denormals. Ideally there would
> be a compiler switch which made user code and the libraries all
> deal with denormals.
>
> -- 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
>
>
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-08 19:30 ` Phillip Ezolt
@ 1999-03-08 20:13 ` Greg Lindahl
1999-03-08 21:47 ` Phillip Ezolt
0 siblings, 1 reply; 38+ messages in thread
From: Greg Lindahl @ 1999-03-08 20:13 UTC (permalink / raw)
To: axp-list
> 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
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-09 7:31 ` Neil Carlson
@ 1999-03-08 20:23 ` Wes Bauske
1999-03-08 21:26 ` Joachim Wesner
0 siblings, 1 reply; 38+ messages in thread
From: Wes Bauske @ 1999-03-08 20:23 UTC (permalink / raw)
To: axp-list
Neil Carlson wrote:
>
> Wes Bauske wrote:
> >
> > Greg Lindahl wrote:
> > >
> > > You seem to be assuming that zero is the "right answer". It is
> > > if -mieee is not specified. But if -mieee is specified, then there
> > > should be routines which return a denorm. I'm surprised that CPML
> > > doesn't have such routines. (?)
> > >
> >
> > Zero is the correct answer. If you think a denormal
> > provides useful algorithmic information, you're kidding
> > yourself.
>
> If you haven't already done so, I'd recommend educating yourself on
> the numerical motivations underlying IEEE 754 by going to W. Kahan's
> website (http://www.cs.berkeley.edu/~wkahan/ieee754status) and doing
> some reading. Kahan was one of the major framers of the standard
> and is a highly regarded numerical analyst.
>
Good reference.
This is an interesting statement, note "Gradual Underflow" means denormals:
the troubles caused by underflow cannot all be alleviated by Gradual Underflow; it dispatches only
those
underflows that it can render practically indistinguishable from roundoff. The same effect can be
accomplished by a knowledgeable and diligent
programmer at the cost of a few extra tests against artfully chosen thresholds. Some such tests may
be needed even with Gradual Underflow to render a
program invulnerable to over/underflow. How big a burden should hardware designers bear to save
adept programmers from a few tests, and to protect
some unknowable number of users of naively written programs from falling unwittingly into a tiny
chasm?
Note the comment on naive programmers. Basically, all denormals
do is slightly delay the problem. The problem is still there
however and you need to deal with it in your algorithm.
Wes
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-08 20:23 ` Wes Bauske
@ 1999-03-08 21:26 ` Joachim Wesner
0 siblings, 0 replies; 38+ messages in thread
From: Joachim Wesner @ 1999-03-08 21:26 UTC (permalink / raw)
To: axp-list
Wes Bauske wrote:
>
> Neil Carlson wrote:
> >
>
> > If you haven't already done so, I'd recommend educating yourself on
> > the numerical motivations underlying IEEE 754 by going to W. Kahan's
> > website (http://www.cs.berkeley.edu/~wkahan/ieee754status) and doing
> > some reading.
> This is an interesting statement, note "Gradual Underflow" means denormals:
<Snip>
However, I found an even more interesting statement IMHO (for us
Alphacionados) there:
"...... Generally, a cliche' serves a function similar to what DEC's
"PAL-code" does now for its Alpha, a chip with very speedy IEEE 754
arithmetic in it. ...... "
Hu ??? Probably they wrote this before they really decided on the final
implementation. If the Alpha chip really already came with a decent IEEE
754 arithmetic in *hardware*, without software fixes necessary, we
wouldn't have this thread. Or does the "secret" lie in the small "p" of
IEEE 754p ??
Joachim
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-08 20:13 ` Greg Lindahl
@ 1999-03-08 21:47 ` Phillip Ezolt
1999-03-08 21:58 ` Dave Arnett
1999-03-13 17:13 ` Richard Henderson
0 siblings, 2 replies; 38+ messages in thread
From: Phillip Ezolt @ 1999-03-08 21:47 UTC (permalink / raw)
To: axp-list
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
>
>
>
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-08 21:47 ` Phillip Ezolt
@ 1999-03-08 21:58 ` Dave Arnett
1999-03-13 17:13 ` Richard Henderson
1 sibling, 0 replies; 38+ messages in thread
From: Dave Arnett @ 1999-03-08 21:58 UTC (permalink / raw)
To: axp-list
I agree; it is a compiler bug.
Phillip Ezolt wrote:
>
> 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
> >
> >
> >
>
> --
> 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
--
David Arnett (520) 621-9587 fax: (520) 621-1532
Regents Professor,
Steward Observatory, University of Arizona, Tucson AZ 85721, USA
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
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
1 sibling, 1 reply; 38+ messages in thread
From: Neil Carlson @ 1999-03-09 7:31 UTC (permalink / raw)
To: axp-list
Wes Bauske wrote:
>
> Greg Lindahl wrote:
> >
> > You seem to be assuming that zero is the "right answer". It is
> > if -mieee is not specified. But if -mieee is specified, then there
> > should be routines which return a denorm. I'm surprised that CPML
> > doesn't have such routines. (?)
> >
>
> Zero is the correct answer. If you think a denormal
> provides useful algorithmic information, you're kidding
> yourself.
If you haven't already done so, I'd recommend educating yourself on
the numerical motivations underlying IEEE 754 by going to W. Kahan's
website (http://www.cs.berkeley.edu/~wkahan/ieee754status) and doing
some reading. Kahan was one of the major framers of the standard
and is a highly regarded numerical analyst.
------------------------------------------------------------------------
Neil N. Carlson nnc@lanl.gov (work)
Theoretical Division nnc@roadrunner.com (non-work)
Group T-1, Mailstop B221
Los Alamos National Laboratory 505-665-1220 (voice)
Los Alamos, NM 87545 505-665-5757 (fax)
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: SIGFPE error on exponential underflow in g77
1999-03-08 21:47 ` Phillip Ezolt
1999-03-08 21:58 ` Dave Arnett
@ 1999-03-13 17:13 ` Richard Henderson
1 sibling, 0 replies; 38+ messages in thread
From: Richard Henderson @ 1999-03-13 17:13 UTC (permalink / raw)
To: axp-list
On Mon, Mar 08, 1999 at 04:47:24PM -0500, Phillip Ezolt wrote:
> 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?
It doesn't at the moment, it only tells the preprocessor.
One way for it to be accomplished is for <math.h> to change the
assembly name of the functions when -mieee (or no -mieee, depending
on your view of life). E.g.
#ifdef _IEEE_FP
__extension__ double exp(double) __asm__("_ieee_exp");
#else
double exp(double);
#endif
When it makes a difference whether we change names based on -mieee
or the reverse depends on your philosophy as to whether a user should
be allowed to mix -mieee and -mno-ieee code, and what happens if a
pointer to `exp' gets put into a table.
r~
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Alpa Processor no longer Number one, nonsense.
1999-03-08 10:20 ` Jochen Kuepper
@ 1999-04-09 12:35 ` Michael Wilhelm
0 siblings, 0 replies; 38+ messages in thread
From: Michael Wilhelm @ 1999-04-09 12:35 UTC (permalink / raw)
To: axp-list
it seems to me that alpha has been beta testing the 1ghz cpu now
for about 1 1/2 - 2 years now.... I will have to say this alpha has it
together... The biggest diffrence between digital and Intel is
advertising... Intel does much more advertising than digital and
Intel's cpus show it in there price. I think Intel has the slowest cpus
on the market AMD & Cyrix both have cpu's that can out preform
the Intels and at 1/3 the price... Dec & Mips both still have the
fastest chips and with capabilitys to do SMP with more that 2 or 4
cpus.. Also Intels PII can only support at the most 2 megs of l2
cache and its built on to there slot 1 card and the chip is expenxive.
the 1 meg pII chip is going for $1575. the new dec chips can
support up to 8megs of L2 cache and you install the chips on board
of the mother board... I found a 533Mhz 21164A pc164UX4 with
4meg cache the server has 128meg ram 4.5gig uw scsi, zip drive
and a few other goodys for under $3000 for the complete system...
so I think dec is still at the top even there prices are not that bad...
> On Fre, 05 Mär 1999 phoenix2063@earthlink.net wrote:
> >Aaron,
> >
> >You need to quit listening to Intel FUD. First off, you can get alphas at
> >667mhz. right now. and 700 now/soon? not sure which.
> >
> >As for Intel's claim of having the first 1ghz. cpu, that is pure BS.
> >Alpha had shown a 1ghz. processor slated for deliver this year or early
> >next year months ago.
>
> Yeah, they actually showed a 800 MHz CPU at Cebit last March - one year
> ago !
>
> Greetings,
> Jochen
> -----------------------------------------------------------------------
> Jochen Küpper
>
> Heinrich-Heine-Universität Düsseldorf jochen@uni-duesseldorf.de
> Institut für Physikalische Chemie I Universitätsstr. 1, Geb 26.43 Raum
> 02.29 phone ++49-211-8113681 40225 Düsseldorf
> fax ++49-211-8115195 Germany
> http://www-public.rz.uni-duesseldorf.de/~jochen
> -----------------------------------------------------------------------
>
> --
> 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
------------
Michael Wilhelm, MIS
Visit: http://www.mydot.com/
Get WinAmp at http://www.winamp.com and listen to my live streaming audio at
http://mydot.com/html/za-mix_live_audio.html
^ permalink raw reply [flat|nested] 38+ messages in thread
end of thread, other threads:[~1999-04-09 13:08 UTC | newest]
Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1999-03-08 21:58 ` Dave Arnett
1999-03-13 17:13 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox