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: Register Allocator query.


Leon Taylor <leon_taylor_007@yahoo.co.in> writes:
> As I understood, the purpose of creating stack pseudos rather than
> hard stack slots is that they might get a color during subsequent
> pass (thus not needing a stack slot). They should be hard slots only
> in non-optimizing compile. Or perhaps based on heuristics.  What
> heuristics are chosen ?

Also, we want to be able to optimize the layout of the stack frame.
Avoiding assigning hard slots until after register allocation makes
this possible.

zw


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