Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: why only 6 params passed in registers?
Date: 2000/01/12	[thread overview]
Message-ID: <85iba2$fcs$2@nserve1.acs.ucalgary.ca> (raw)
In-Reply-To: 85hs78$3a7$1@news.telekabel.nl

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/



  reply	other threads:[~2000-01-12  5:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-12  5:00 why only 6 params passed in registers? david_morse
2000-01-12  5:00 ` Martin Sinot
2000-01-12  5:00   ` Serguei Patchkovskii [this message]
2000-01-14  5:00     ` Chris
2000-01-14  5:00       ` Serguei Patchkovskii
2000-01-14  5:00         ` Chris
2000-01-15  5:00       ` Greg Lindahl
2000-01-15  5:00         ` Chris
2000-01-15  5:00           ` Serguei Patchkovskii
2000-01-16  5:00             ` Chris
2000-01-16  5:00               ` Serguei Patchkovskii
2000-01-12  5:00 ` Alex Rhomberg
2000-01-14  5:00 ` Steven Hobbs
2000-01-14  5:00   ` Martin Sinot
2000-01-14  5:00     ` Steven Hobbs
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox