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: Richard Earnshaw <rearnsha at cambridge dot arm dot com>
- To: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Cc: Lars Brinkhoff <lars dot spam at nocrew dot org>, Andreas Bauer <baueran at in dot tum dot de>, gcc at gcc dot gnu dot org, Richard dot Earnshaw at arm dot com
- Date: Mon, 09 Sep 2002 15:09:42 +0100
- Subject: Re: Work in progress: "Super Sib Calls"; opinions sought
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> (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)
>
In this case I think we can use IP (r12) (though not in Thumb mode), since
the register is dead by the time we hit any intra-link stub which might
clobber the register. Note however, that IP is also used for nested
function static-chain address...
R.