From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32264 invoked from network); 17 Nov 1998 21:49:22 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 17 Nov 1998 21:49:22 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA09276 for ; Tue, 17 Nov 1998 16:49:20 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Tue, 17 Nov 1998 15:50:55 -0600 Received: by paralleldata.com from aspg04 (198.133.22.195::mail daemon; unverified,SLMail V2.5); Tue, 17 Nov 1998 15:50:54 -0600 Sender: "Wsb" Message-ID: <3651EF92.41C6@paralleldata.com> Date: Tue, 17 Nov 1998 15:50:10 -0600 From: "Wes Bauske" Organization: Parallel Data Systems Inc. X-Mailer: Mozilla 3.01Gold (X11; U; AIX 2) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: egcs g77 and DgncppB References: <199811172027.PAA18811@adder.cs.Virginia.EDU> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Greg Lindahl wrote: > > > > You're assuming that -mieee makes a big difference in library > > > run-time. I suspect it doesn't, since it doesn't have that many > > > floating point ops in it, and when it does, it does expensive things > > > anyway, like converting to ascii and back. > > > > > > > As I said, those that want it should have their own > > version. Those that don't should not get it in their > > code path. > > So let me get this straight: you think that even if there is no > difference in CPU time consumed, someone should still spend human > effort to make this "feature" available, when nobody needs it? > Since the libraries are apparently NOT compiled with -mieee, which is how this thread started, it seems the addition of -mieee is creating the extra labor. In fact, I believe this is the first piece of SW that someone complained was having FPE's in the G77 libraries on this list. That statement in itself indicates there must be FP calculations in the library, which in turn means -mieee is not "free". Be that as it may, the solution for DgncppB is to either determine how the code generated data that causes the FPE in LIBI77 or, since it's a problem specific to that code, rebuild egcs with the -mieee flag active for the library and see if that helps. Note using -mieee does not guarantee FPE's go away. > > Ask yourself how many customers would pay you to > > produce a NaN for them.... > > Many legitimate algorithms use IEEE in interesting ways to produce > fast answers -- there are NaN's along the way, but the final answer is > right. Just because you don't use such algorithms doesn't mean other > people shouldn't use them. > Interesting statement. If you have time, please give a brief description of how one example would do this, preferably off line since I'm not sure anyone else cares about this discussion. -- Regards, Wes