Related articles |
---|
Register Spilling muj20@cam.ac.uk (umar) (2003-12-13) |
Re: Register Spilling tmk@netvision.net.il (2003-12-14) |
Re: Register Spilling falk.hueffner@student.uni-tuebingen.de (Falk Hueffner) (2003-12-20) |
From: | tmk@netvision.net.il (Michael Tiomkin) |
Newsgroups: | comp.compilers |
Date: | 14 Dec 2003 22:12:51 -0500 |
Organization: | http://groups.google.com |
References: | 03-12-088 |
Keywords: | registers |
Posted-Date: | 14 Dec 2003 22:12:51 EST |
umar <muj20@cam.ac.uk> wrote
> Once the decision to spill certain pseudo register values has been
> taken during register allocation, on what further criteria, are these
> pseudo values put on the stack/memory. Is there any strategy /scheme
> as to how these spilled values be actually layed out on memory.
There are two considerations doing this. First, allocating the
spill areas is done very similarly to register allocation - the live
ranges between the spills and the corresponding restores get allocated
to the chunks of spill area. Second, on a machine with loads/stores
of multiple regs, you can save some code space allocating spill areas
into consecutive chunks.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.