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: lindahl@pbm.com (Greg Lindahl) Subject: Re: why only 6 params passed in registers? Date: 2000/01/15 Message-ID: <85oguv02ivj@news1.newsguy.com>#1/1 X-Deja-AN: 572818310 References: <387EEFA6.3CD3F398@dtn.ntl.com> Organization: a guest of Shadow Island Games Newsgroups: comp.os.linux.alpha Chris writes: > You would make the code much more efficient and faster by writing the > code to put all the args in a structure, then passing a pointer to it. > Voila, only a single register needed and you only have to add an element > to the structure, not change the function declaration, if you need to > add more args later. Spoken like a person who doesn't write Fortran. Hint: if that was more efficient, all compilers would use it as their argument passing convention. -- g