From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,bdbe309bb84cd986 X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!gnilink.net!trnddc06.POSTED!37d89e9d!not-for-mail Newsgroups: comp.os.linux.alpha From: "Robert M. Riches Jr." Subject: Re: Compaq C vs GCC-4.0.1 References: Organization: none-at-all Reply-To: spamtrap42@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.8.1 (Linux) Date: Sun, 24 Jul 2005 01:07:47 GMT NNTP-Posting-Host: 71.111.48.156 X-Complaints-To: abuse@verizon.net X-Trace: trnddc06 1122167267 71.111.48.156 (Sat, 23 Jul 2005 21:07:47 EDT) NNTP-Posting-Date: Sat, 23 Jul 2005 21:07:47 EDT Xref: g2news1.google.com comp.os.linux.alpha:371 (Top-posting worked around.) > "M�ns Rullg�rd" wrote in message >> >> I remember having to use -mieee when compiling povray with ccc. >> Otherwise the rendered images would look quite weird. Unfortunately, >> -mieee can slow things down a bit. Is that flag still required? On 2005-07-23, DiskMan wrote: > Na I didn't use mieee, thought about it though... I do have a few probs with > the CCC/GCC, they will segfault if you use the 'wrong' option in the > povray.ini file. Haven't found a good way around that one... Normally it > will segfault on something called "Parsing 20K tokensSegmentation fault" and > another, something about calculating floats... I don't happen to have a copy > of that one. It affects both CCC and GCC by the way... Just in case a bit of tribal knowledge has gone away, back in the days of RedHat 7.2 on Alpha, it was necessary to use -mieee when compiling any serious floating point program. Without that option, a gradual underflow situation will cause a fault. However, it was a floating point exception, not a segmentation fault--although the description by DiskMan does leave a little doubt about that observation. At the time I asked about the -mieee option, the experts around at that time said it would slow down the program. I didn't do a lot of benchmarking, but I did make a few speed measurements, and I never saw a significant slowdown. If in doubt, why not compile once with and once without, then run both programs on the same input and compare results and CPU time? Robert Riches spamtrap42@verizon.net (Yes, that is one of my email addresses.) (I miss my Alpha...)