From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <27a3836bf156b77c1330cd06d4c3c771.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199704101818.NAA13562@stommel.tamu.edu> Date: Thu, 10 Apr 1997 14:31:29 -0400 From: Jim Paradis Subject: Re: SIGFPE Randy Chapman wrote: > > In article <334D10D4.6CF5A78@jrp.tiac.net> you wrote: > : When you specify the "-mieee" flag to gcc, it generates recoverable > : code. The recovery code itself is in the kernel > : (arch/alpha/math-emu/fp-emul.c if you want to check it out). If > : everything is working right, then the SIGFPE presented to the user > : contains the CPU state at the point where the exception occurred. > > Whats this do to fp performance ? If needed, I can actually check > before the operation is done for divide-by-zero and pass to some > other code for that case, but I was also hoping to avoid that extra > compare. Then again, I guess I could go check this myself. Hmmm... good question. Let me check with my more learned colleagues as to the actual performance impact of -mieee. I don't think it's *that* great... > Hrm. I'm still getting a fault on double 0 divided by double 0 > with -mieee on 2.1.26, however. (does the same thing with floats > as well) Okay; I'll check this out when I revisit the fp code... -- Jim Paradis jrp@jrp.tiac.net http://www.tiac.net/users/jrp/index.html "It's not procrastination, it's my new Just-In-Time Workload Management System!" -- 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