| Related articles |
|---|
| Global register allocation jaidi@technet.sg (1995-08-31) |
| Re: Global register allocation eyal@dsp.co.il (Eyal Ben-Avraham) (1995-09-06) |
| Newsgroups: | comp.compilers |
| From: | jaidi@technet.sg (Nor Jaidi) |
| Keywords: | registers, optimize, question, comment |
| Organization: | Compilers Central |
| 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 jaidi@technet.sg
[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
comp.compilers page.
Search the
comp.compilers archives again.