Path: utzoo!attcan!uunet!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!funic!fuug!digiw!dm From: dm@digiw.UUCP (Dick Mihalowsky) Newsgroups: comp.os.os9 Subject: Re: Passing parameters by registers is bad use?!?!? Keywords: C compiler, parameter passing Message-ID: <1546@digiw.UUCP> Date: 12 Oct 90 21:02:06 GMT References: <3537@rwthinf.UUCP> <2820@cernvax.UUCP> <3117@mcrware.UUCP> Reply-To: dm@digiw.UUCP (Dick Mihalowsky) Organization: Digiware , Helsinki Finland Lines: 19 In article <3117@mcrware.UUCP> kim@mcrware.UUCP (Kim Kempf) writes: >Couldn't have stated it better myself, Roberto! The following is an >example, albeit trival, of the savings that adds up quickly on >non-trivial programs: [example deleted] It is undeniably faster to use registers for passing parameters. But the current Microware C compiler uses a rather complex register allocation algorithm and I am still waiting for Microware to implement (or if you insist) and a working set of the vprintf(3) -family. Missing these, I take stack-passing anytime. Still hacking on variable argument functions for OSK! Dick Mihalovsky -------- Dick Mihalovsky, Jyvaskyla, Finland. Email: dm@itumic.Itumic.FI