This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Work in progress: "Super Sib Calls"; opinions sought


On 09-Sep-2002, Lars Brinkhoff <lars.spam@nocrew.org> wrote:
> Andreas Bauer <baueran@in.tum.de> writes:
> > Everything more advanced will be attacked in a second step where I'm
> > actually using an independent calling convention.
> 
> What convention?  One where the callee pops its frame?

Yes.

The calling convention

	(1) must be callee-pops,
	      to enable callee argument size to 
	      exceed caller argument size

	(2) needs to ensure that at least one
	      call-clobbered register is not
	      used for argument passing,
	      to handle indirect calls
	      (apparently some existing calling conventions,
	      such as the one for ARM, don't have this property)

	(3) it might be desirable to use
	      not very many callee-save registers,
	      because these need to be restored
	      at every optimized last call

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]