new register allocator and HARD_REGNO_CALL_PART_CLOBBERED

Michael Matz matz@suse.de
Thu May 15 09:46:00 GMT 2003


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.



More information about the Gcc mailing list