This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GNU Fortran
- To: Dave Love <d dot love at dl dot ac dot uk>
- Subject: Re: GNU Fortran
- From: Zack Weinberg <zack at rabi dot columbia dot edu>
- Date: Fri, 22 Jan 1999 17:20:53 -0500
- cc: egcs-bugs at cygnus dot com, Ray Nachlinger <ray at ultramarine dot com>
On 22 Jan 1999 17:59:43 +0000, Dave Love wrote:
>>>>>> "Ray" == Ray Nachlinger <ray@ultramarine.com> writes:
>
> Ray> For many problems, G77 is faster, but when doing heavy duty
> Ray> math G77 is horrible. Seems to be the math library (sqrt,
> Ray> sin, cos, log, exp).
>
>With which compiler and options are you comparing?
The Sun unbundled Fortran compiler has a hyper-optimized special math
library. It might be worth trying something like this when linking:
g77 prog.o -lg77 -L/opt/SUNWspro/lib -lsunmath -lm
see if that helps. (You might also need to add -R/opt/SUNWspro/lib.)
Also, what's your platform? Tuning for the right processor can be a
big win on Sparcs.
zw