This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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


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


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