This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Work in progress: "Super Sib Calls"; opinions sought
- From: Jeff Law <law at porcupine dot slc dot redhat dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Andreas Bauer <baueran at in dot tum dot de>, gcc at gcc dot gnu dot org, pizka at in dot tum dot de, jason dot ozolins at anu dot edu dot au
- Date: Tue, 10 Sep 2002 11:15:12 -0600
- Subject: Re: Work in progress: "Super Sib Calls"; opinions sought
- Reply-to: law at redhat dot com
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