Fortran 300 times faster than C for computing cosine

Paul Hudson moncam!paul at uunet.uu.net
Sat May 6 10:49:44 AEST 1989


Whatever the question, the answer is GNU!

Using GNU gcc wonderful extended asm statement + inline functions it's
quite possible to have cos just generate the fp opcode. A header file to
do it was recently posted to bug-gcc.  I think I have it squirreled away
somewhere ....

Paul Hudson 

Snail mail: Monotype ADG	Email:	...!ukc!acorn!moncam!paul
	    Science Park,		paul at moncam.co.uk
	    Milton Road,
	    Cambridge,
	    CB4 4FQ



More information about the Comp.sys.sun mailing list