This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New target macro HARD_REGNO_CALL_PART_CLOBBERED
- To: law at cygnus dot com
- Subject: Re: New target macro HARD_REGNO_CALL_PART_CLOBBERED
- From: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>
- Date: Thu, 01 Oct 1998 15:11:20 +1200 (NZST)
- Cc: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>, egcs-patches at cygnus dot com
- References: <"13842.53428.499077.984900"@ongaonga.elec.canterbury.ac.nz><4253.907203869@hurl.cygnus.com>
Jeffrey A Law writes:
>
> In message <13842.53428.499077.984900@ongaonga.elec.canterbury.ac.nz>you write:
> > In this case yes. Some of the call saved 40 bit registers have only
> > the 32 MSBs preserved, while others only have the 32 LSBs preserved.
> OK. Just wanted to make sure. We could just save/restore the entire 40bits
> right? Wasteful, but correct.
caller save would have to do this if calling programs compiled with
the vendor's compiler. With the current caller save implementation,
this would be very wasteful.
Michael.