register allocation

Sumesh UdayaKumaran sumesh_uk@hotmail.com
Mon Jul 7 15:09:00 GMT 2003


Hi
    My question was abt how register allocation affected induction
variables. My question is based on what I found with even small
programs with the induction variables declared as globals. The induction
variable value seemed to be always loaded from
memory. This was with a gcc cross compiler for MCORE. So is there any
thing in the register allocation which prevents them being allocated
into registers ? If so, is there any literature/work in progress on the
optimizations which can do a better register allocation.

The problem repeated even when I made them local variables.

regards
sumesh

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list