Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Robert M. Riches Jr." <spamtrap42@verizon.net>
Subject: Re: Compaq C vs GCC-4.0.1
Date: Sun, 24 Jul 2005 01:07:47 GMT	[thread overview]
Message-ID: <slrnde5qf3.snr.rob@one.localnet> (raw)
In-Reply-To: dlAEe.555$8g.302@tornado.rdc-kc.rr.com

(Top-posting worked around.)

> "M�ns Rullg�rd" <mru@inprovide.com> 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 <nobody@thewheel.com> 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...)


  reply	other threads:[~2005-07-24  1:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-11 22:07 Compaq C vs GCC-4.0.1  DiskMan
2005-07-11 22:48 ` uNiX pSyChO
2005-07-12  2:56   `  DiskMan
2005-07-13 23:44   `  DiskMan
2005-07-20 18:39     ` Måns Rullgård
2005-07-22  5:01       `  DiskMan
2005-07-23 13:38         ` Måns Rullgård
2005-07-23 23:24           `  DiskMan
2005-07-24  1:07             ` Robert M. Riches Jr. [this message]
2005-07-24 12:23               ` Måns Rullgård
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox