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


 In message <20020910063439.GA18565@redhat.com>, Richard Henderson writes:
 >Then, on a case-by-case basis, modify each target's sibcall patterns
 >(and if it doesn't have one, add it) such that there is a register
 >class available that is call-clobbered.
BTW, we are making the assumption that the register allocator will
realize that call-clobbered registers are available at the sibcall
site.  It should probably already do that and failure to get a reg
would indicate a serious problem in the allocator (with the exception
of targets which completely exhaust the call-clobbered registers 
passing arguments such as the mn102 & mn103, but those we'd just
disallow indirect sibcalls in the target checks).

jeff



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