On Wed, Mar 14, 2001 at 02:58:40AM -0800, David O'Brien wrote:

> I won't even to there...

Well, the only reason I mentioned it.. was that the pgcc folks don't seem
to be too delusioned about the dangers.  -ON (N > 2) is regarded as at
least possibly in danger of generating incorrect code.

> Not untested -- but you should go grab a graduate text on compiler
> optimizations and familiarize yourself with the complexity of the problem.

Care to recommend any starting places.  You've piqued my interest.

> If hello_world.c showed a problem with an optimization, I guarantee it
> would be fixed.

Of course depending on the problem.

> The current test case of holding up the entire FreeBSD
> kernel as showing an optimization problem doesn't cut it.  If you care to
> trim it down to a single module showing the problem....

Well I've just made buildworld with CFLAGS = "-O2 -march=pentiumpro
-malign-double" from a world built with the same flags.  Not so sure of
any performance impact however.

- alex

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to