Fortran 300 times faster than C for computing cosine

Steve Groom stevo at elroy.jpl.nasa.gov
Sat May 6 10:25:24 AEST 1989


chuck at trantor.harris-atd.com (Chuck Musciano) writes:
>Does anyone know of an optimizer which will convert calls to the standard
>math routines to their 68881 instruction counterparts?

/usr/lib/inline.  Try "cc -c foo.c /usr/lib/f68881/libm.il".  Better yet,
take a look at the Sun Floating Point Programmer's Guide (in the 4.0
manual set).

-steve

Steve Groom, Jet Propulsion Laboratory, Pasadena, CA 91109
Internet: stevo at elroy.jpl.nasa.gov   UUCP: {ames,cit-vax}!elroy!stevo
Disclaimer: (thick German accent) "I know noothingg! Noothingg!"



More information about the Comp.sys.sun mailing list