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


> 	(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.


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