Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!uxc!garcon!garcon.cso.uiuc.edu!grunwald From: grunwald@flute.cs.uiuc.edu (Dirk Grunwald) Newsgroups: gnu.g++.bug Subject: Re: The power of inline functions (cc, gcc, g++). Message-ID: Date: 5 Jun 89 15:30:27 GMT References: <8906051459.AA18572@AENEAS.MIT.EDU> Sender: news@garcon.cso.uiuc.edu Reply-To: grunwald@flute.cs.uiuc.edu Distribution: gnu Organization: University of Illinois, Urbana-Champaign Lines: 16 In-reply-to: gordon%stats.ucl.ac.uk@NSFNET-RELAY.AC.UK's message of 5 Jun 89 13:14:56 GMT At my request, Doug Lea included modifications to the g++ version math.h that include math-m68881.h, which was previously distributed via gnu.gcc.bug. This version of math.h simply checks to see if you're using the 68881, and, if you are, includes a header file that uses m68881 functions to perform common functions. There are caveats to this approach, and I think they're included in the header file. To get the same functionality from `gcc', simply incant a math.h that checks for _USE_68881_ & include math-m68881.h if it does. The last I heard, these feature will be supplanted by new __builtins that allow similar functionality but allow even greater optimizations. -- Dirk Grunwald -- Univ. of Illinois (grunwald@flute.cs.uiuc.edu)