This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: register allocation
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: qiongc at cse dot unsw dot edu dot au (Qiong Cai)
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 2 May 2004 12:56:28 -0400
- Subject: Re: register allocation
- References: <20040502132733.GA24763@cse.unsw.EDU.AU>
On May 2, 2004, at 9:27 AM, Qiong Cai wrote:
Hi,
I'm going to study register allocation in GCC.
What do you mean "study"?
To be honest, we already know a lot about GCC register allocation, it's
shortcomings, etc.
This is true for both allocators.
Currently GCC has
two register allocators. Here some questions:
* Is there any performance results(eg. spec2k results) available for
these two allocators?
Yes, for various platforms.
Check the mailing list archives.
* Besides those ra*.[c,h] files, is tthere any other source files
related
to register allocation?
local-alloc, global-alloc (the "old" allocator)
* Which function, if available, calcuate the register pressure,
which is the defined as the max number of live variable for a basic
block?
None.
Many thanks.
Qiong