This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GNU Fortran


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]