|Global register allocation email@example.com (1995-08-31)|
|Re: Global register allocation firstname.lastname@example.org (Eyal Ben-Avraham) (1995-09-06)|
|From:||email@example.com (Nor Jaidi)|
|Keywords:||registers, optimize, question, comment|
|Date:||Thu, 31 Aug 1995 05:53:07 GMT|
I am baffled. How can a compiler allocate global registers?
The only solution that comes to my mind is to make the linker
not only capable of resolving memory addresses, but also
inserting load/store instructions in case of global register
conflicts. But that would undo compiler optimisation.
Please shed some visible electromagnetic wave on this matter.
Nor Jaidi firstname.lastname@example.org
[I'd guess that typically the compiler looks at the whole program before
handing it to the linker. Also remember that "global" often is taken to mean
among a group of related routines, not necessarily the whole program. -John]
Return to the
Search the comp.compilers archives again.