This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

register allocation in gcc for mcore elf



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]