C optimizer

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Feb 23 22:36:00 AEST 1989


In article <1026 at frog.UUCP> john at frog.UUCP (John Woods) writes:
>The 68881 chip has FCOS, FSIN, and (gasp) FSINCOS which simultaneously
>computes cos() and sin() of the same argument.  A sufficiently clever
>compiler could potentially make great use of that.

Well, hurray -- I've wanted that for years!  I do hope C implementors
will perform this optimization; it could help us computer-graphics types
quite a bit.



More information about the Comp.lang.c mailing list