Re: RFH: intra-procedure optimizations "CALL_REALLY_USED_REGISTERS"

2005-08-07 Thread Steven Bosscher
On Sunday 07 August 2005 09:35, Björn Haase wrote: > Hello, > > The avr port presently misses possible intra-procedure optimizations > concerning register use. What you describe is an _inter_procedural optimization. "Between procedures". You want to use the result of some analysis done in one fu

RFH: intra-procedure optimizations "CALL_REALLY_USED_REGISTERS"

2005-08-07 Thread Björn Haase
Hello, The avr port presently misses possible intra-procedure optimizations concerning register use. Optimizations are missed when 1) calling a leaf function that is 2) defined in the same unit as a the caller and 3) clobbers only a subset of the call-clobbered registers. Presently I observe th