[m-dev.] for review: performance enhancement in store_alloc.m

Thomas Charles CONWAY conway at cs.mu.OZ.AU
Sat Apr 4 08:22:43 AEST 1998


Zoltan Somogyi, you write:
> 
> Tom, please review this.
> 
> Estimated hours taken: 2
> 
> store_alloc.m:
> 	When deciding where to put the known variables at the end of a branched
> 	control structure, and looking at a variable not in the follow-vars
> 	set, prefer putting the variable into its stack slot instead of a
> 	free register. The semantics of the follow-vars set says that this
> 	variable likely won't be used before the next call. Even if follow-vars
> 	is not turned on, prefer putting variables in their stack slots
> 	to putting them in non-real registers.
> 

This change looks fine.

Thomas
-- 
Thomas Conway    || conway at cs.mu.oz.au
AD DEUM ET VINUM || Nail here [] for new monitor.



More information about the developers mailing list