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: new register allocator and HARD_REGNO_CALL_PART_CLOBBERED


Hi,

On 14 May 2003, Alexandre Oliva wrote:

> But it may soon be.  There are plans to support different calling
> conventions for different functions.  Consider changing the
> clobber/save patterns of static functions never used outside the
> current translation unit by extending or limiting the set of registers
> it can clobber.  It would be ideal if the new register allocator
> didn't make the assumption that calling-conventions are fixed for all
> functions.

It doesn't do that.  It's already possible for each call to clobber
different registers, and this is handled correctly.  Just that insane
notion of mode-dependent clobbering (which I really think is not necessary
at all) should ideally be removed alltogether, or at least it should not
depend on the call itself.


Ciao,
Michael.


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