* Re: fp exception handling bug in 2.0.33
1998-07-01 15:01 exception handling bug in 2.0.34 Greg Lindahl
@ 1998-07-02 1:33 ` Tom Holroyd
0 siblings, 0 replies; 3+ messages in thread
From: Tom Holroyd @ 1998-07-02 1:33 UTC (permalink / raw)
To: Greg Lindahl; +Cc: axp-list
On Wed, 1 Jul 1998, Greg Lindahl wrote:
>In 2.0.33, I have a program which crashes the machine.
>
>In 2.0.34, this program dies with a floating-point exception. While
>this is far superior to killing the machine ...
My simple example was acos(-2.). Yea, I had the same experience with
2.0.32 -- after an FP exception, the machine would be unstable. 2.0.34
fixed that. The reason it kills the process now is that AXP is not IEEE.
IEEE compliance slows the computation down. You can add -mieee to your
compile switches to get this: you'll get the correct answer (NaN) and a
domain error flag set (and a
kernel: moo: arithmetic trap at 00000001200007b0: 02 0000040000000000
in /var/log/messages).
Actually I prefer the program to die. Dividing by zero (for example) is
an error I want to know about rather than having it simply keep going with
infinity or NaN.
Dr. Tom Holroyd
Behavior Control Lab, Human Informatics Dept. The basis of
National Institute of Bioscience and Human-Technology stability is
1-1 Higashi, Tsukuba-shi, Ibaraki 305, Japan instability.
The 9th Amendment of the U.S. Constitution:
"The enumeration in the Constitution, of certain rights, shall not be
construed to deny or disparage others retained by the people."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: fp exception handling bug in 2.0.33
@ 1998-07-02 2:03 Greg Lindahl
1998-07-02 7:20 ` Richard Henderson
0 siblings, 1 reply; 3+ messages in thread
From: Greg Lindahl @ 1998-07-02 2:03 UTC (permalink / raw)
To: Tom Holroyd; +Cc: axp-list
> My simple example was acos(-2.). Yea, I had the same experience with
> 2.0.32 -- after an FP exception, the machine would be unstable. 2.0.34
> fixed that. The reason it kills the process now is that AXP is not IEEE.
> IEEE compliance slows the computation down. You can add -mieee to your
> compile switches to get this: you'll get the correct answer (NaN) and a
> domain error flag set (and a
> kernel: moo: arithmetic trap at 00000001200007b0: 02 0000040000000000
Sorry that I wasn't clear. The program gives an answer when it is
not receiving many SIGIOs. It gives an fp exception when it receives
the SIGIOs.
I see 2 patches in pre35 I am going to apply; one is to the alpha fpu
emulator, which is presumably used during traps? and the other is to
SIGIO handling itself.
-- g
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: fp exception handling bug in 2.0.33
1998-07-02 2:03 fp exception handling bug in 2.0.33 Greg Lindahl
@ 1998-07-02 7:20 ` Richard Henderson
0 siblings, 0 replies; 3+ messages in thread
From: Richard Henderson @ 1998-07-02 7:20 UTC (permalink / raw)
To: Greg Lindahl, Tom Holroyd; +Cc: axp-list
On Wed, Jul 01, 1998 at 10:03:26PM -0400, Greg Lindahl wrote:
> I see 2 patches in pre35 I am going to apply; one is to the alpha fpu
> emulator, which is presumably used during traps? and the other is to
> SIGIO handling itself.
Also see a fix to entry.S -- in SAVE_ALL I think.
r~
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-07-02 7:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-02 2:03 fp exception handling bug in 2.0.33 Greg Lindahl
1998-07-02 7:20 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1998-07-01 15:01 exception handling bug in 2.0.34 Greg Lindahl
1998-07-02 1:33 ` fp exception handling bug in 2.0.33 Tom Holroyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox