Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 1998 07:01:28 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        sgk@troutmask.apl.washington.edu (Steve Kargl)
Cc:        tlambert@primenet.com, freebsd-current@FreeBSD.ORG, ckempf@enigami.com
Subject:   Re: Compilers: 2.8.1 v 2.7.2.1?
Message-ID:  <199803180701.AAA00396@usr04.primenet.com>
In-Reply-To: <XFMail.980317080140.sgk@troutmask.apl.washington.edu> from "Steve Kargl" at Mar 17, 98 07:53:40 am

next in thread | previous in thread | raw e-mail | index | archive | help
> >The moral to this story?  "I can make it run as fast as you want, as
> >long as it doesn't have to actually work".
> 
> I don't use C++, so I can't speak about egcs's g++ and exceptions.
> 
> Sigh.
> 
> You're moral seems to be a non-sequitur with respect to my g77 observation.
> Most people would assume a statement of "real-world benchmark (my code)"
> means not only was g77 22% faster but it also gives the right answer.
> In fact, I can cook up a Fortran program that runs 16 times faster when
> complied with g77 than with f2c+gcc.  I hardly would call this a 
> real-world benchmark.  (Oh yeah, both give the expected results).

I have noticed FP exceptions with g77; I have also noticed that some
code simply will not run, even though f2c compiles it, as does a VAX
as does a CDC Cyber (yeah, it's old code) as does a YMP.

Admittedly, it's not terribly useful to run this code on a machine
without a vector processor (ie; Intel boxes) if you want to do half
a billion P-P pair production collosions, but it's an indicator that
the g77 compiler isn't quite there yet.

That you can't use threads in C++ with egcs, but you can with the
FSF g++ distribution is probably more important than the FORTRAN
problems, but the code *is* rather broken in both cases.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803180701.AAA00396>