From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,f6dda81e7269c676 X-Google-Attributes: gid111c93,public From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) Subject: Re: why only 6 params passed in registers? Date: 2000/01/12 Message-ID: <85iba2$fcs$2@nserve1.acs.ucalgary.ca>#1/1 X-Deja-AN: 571693363 References: <85hhsi$lkj$1@nnrp1.deja.com> <85hs78$3a7$1@news.telekabel.nl> X-Complaints-To: news@ucalgary.ca X-Trace: nserve1.acs.ucalgary.ca 947695746 15772 136.159.34.221 (12 Jan 2000 16:49:06 GMT) Organization: University of Calgary NNTP-Posting-Date: 12 Jan 2000 16:49:06 GMT Newsgroups: comp.os.linux.alpha Martin Sinot (martin@spase.nl) wrote: : Umm, how often do you have a function with 18 parameters? Or even six? In numerical codes, it is not uncommon to have functions with half a dozen parameters; I'd also seen function interfaces with more than twenty parameters, with each one being there for a good reason. Of course, such functions tend to perform a fair bit of processing of their own - so that parameter passing style is not even a second-order effect for them. The number of scratch registers, available for intermediate results, is, on the other hand, very important for such functions... Cheers, /Serge.P -- home page: http://www.cobalt.chem.ucalgary.ca/ps/