This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Register allocation in GCC 4
- From: "Jon Beniston" <jbeniston at compxs dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Mon, 25 Apr 2005 10:54:19 +0100
- Subject: Register allocation in GCC 4
- Organization: CompXs
- Reply-to: <jbeniston at compxs dot com>
Hi,
I'm updating a GCC port to 4.0.0. I am seeing a problem whereby registers
that are set to 1 in fixed_regs are being used. The problem is occuring
quite early on in the compiler, as the registers appear in the 00.expand
dump. The problem seems to occur for a DCmode value that is being allocated
to several registers. The first 4 of these registers are not in fixed_regs,
but the last 4 are (regs are 16-bit). I have made sure HARD_REGNO_MODE_OK
for all these registers returns 0, but that hasn't had an effect. Can anyone
suggest where I need to be looking to track this down?
Cheers,
Jon