From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,9e636c8c1728563 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-12-06 10:58:09 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc02.gnilink.net.POSTED!37d89e9d!not-for-mail From: rob@evrtwa1-ar5-4-65-015-110.evrtwa1.dsl-verizon.net (Robert M. Riches Jr.) Newsgroups: comp.os.linux.alpha Subject: Re: Q: floatingpoint exceptions References: <87isy8yv5n.fsf@new.home-net.stg> Organization: none-at-all Reply-To: rm.riches@verizon.net Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: slrn/0.9.6.4 (Linux) Date: Fri, 06 Dec 2002 18:58:10 GMT NNTP-Posting-Host: 4.65.15.110 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc02.gnilink.net 1039201090 4.65.15.110 (Fri, 06 Dec 2002 13:58:10 EST) NNTP-Posting-Date: Fri, 06 Dec 2002 13:58:10 EST Xref: archiver1.google.com comp.os.linux.alpha:6700 On 6 Dec 2002 10:36:50 -0800, St�phane Vaxelaire wrote: > >Yes, -mieee is a "magic" solution but as said before it is a >performance hit. >And I can say that too because I spent many days trying to get rid of >64 >bitness problems in VegaStrike (vegastrike.sourceforge.net) : a OpenGL >3D space simulator. >I also got rid of *every* SIGFPEs I encountered with the great help of >the lead programmer of that game. > >Since then it runs just great without compiling with any -mieee >options. >And indeed, the performance was definitly better (at least without 3D >Hardware acceleration). What level of performance degradation have you observed by using the -mieee switch? My main encounter with it was in connection with the Rainbow document indexing package, which uses a lot of floating point in its document similarity computation. I saw just a few cases that would blow up without -mieee, so I added it to the Makefile and recompiled the whole package (something akin to "make clean ; make", IIRC). I saw only about a 2% performance degradation on those parts that had worked without the switch. Based on that number, I formed the opinion that the degradation was not very serious. Robert Riches rm.riches@verizon.net