Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!ucbvax!RICHTER.MIT.EDU!krowitz From: krowitz@RICHTER.MIT.EDU (David Krowitz) Newsgroups: comp.sys.apollo Subject: Re: cc -g makes programs run faster? Message-ID: <9009181421.AA22513@richter.mit.edu> Date: 18 Sep 90 14:21:42 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 17 A factor of three speed increase (for floating point code) is usually what I get from going from a " cpu any" (the default) to a "cpu 3000" (which turns on the use of inline floating point code and the 68020 specific addressing modes). It's mere speculation, but maybe your "cpu,3000" isn't getting through to the compiler in the first case? You can use the Apollo specific switch "exp" to get an expanded assembly code listing which should show you whether the code generated is using 68020/68881 floating point and address modes, or whether it's using calls to the floating point library and default 68000 address modes. -- David Krowitz krowitz@richter.mit.edu (18.83.0.109) krowitz%richter.mit.edu@eddie.mit.edu krowitz%richter.mit.edu@mitvma.bitnet (in order of decreasing preference)