Register Spilling

Jim Wilson wilson@specifixinc.com
Thu Dec 11 07:59:00 GMT 2003


Umar Janjua wrote:
> Are the register spilled values laid out in memory following 
>  some particular scheme or randomly?

They are first come first served.  The first one spilled gets the first 
available stack slot, etc.

There have been some proposals to sort them, offhand I don't know if 
there are patches available anywhere for this.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list