This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
register allocation in gcc for mcore elf
- From: "Sumesh UdayaKumaran" <sumesh_uk at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 09 Jul 2003 20:45:12 +0000
- Subject: register allocation in gcc for mcore elf
- Bcc:
Hi
My question was abt how register allocation affected induction
variables which
are globals. My question is based on what I found with even small
programs. The induction variable value seemed to be always loaded from
memory. This was with a gcc cross compiler for MCORE. Can any body explain
why this was so ? Is it that some register promotion pass is needed to
rectify the problem ?
sumesh
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail