Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!ames!haven!ncifcrf!nlm-mcs!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: C optimizer Keywords: C pure function optimization Message-ID: <9693@smoke.BRL.MIL> Date: 23 Feb 89 12:36:00 GMT References: <515@larry.UUCP> <9648@smoke.BRL.MIL> <1026@frog.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <1026@frog.UUCP> john@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.