Title :
Estimating register cost using spots
Author :
Lai, Feipei ; Yeh, Chia-Cheng ; Lee, Hung-Chang
Author_Institution :
Dept. of Electr. Eng., Nat. Taiwan Univ., Taipei, Taiwan
Abstract :
A modified register allocation algorithm whose register cost uses distinct spots is introduced. With this method, the five range of a variable can be viewed as a collection of spots, which are coordinate distances. Together with the usage counts of a variable and the increased weight on variables in loop structures, the cost of each variable already in a register is estimated. In the case where a spill is unavoidable, a variable in a register with minimum cost is chosen. Primary results show that this method increases speed about 21% in terms of the number of load/store instructions when compared with Chow´s graph-coloring method
Keywords :
computational complexity; program compilers; reduced instruction set computing; shift registers; distinct spots; graph-coloring method; load/store instructions; modified register allocation algorithm; register cost; Cleaning; Computer science; Costs; Information management; Interference constraints; Particle separators; Reduced instruction set computing; Registers;
Conference_Titel :
TENCON '92. ''Technology Enabling Tomorrow : Computers, Communications and Automation towards the 21st Century.' 1992 IEEE Region 10 International Conference.
Conference_Location :
Melbourne, Vic.
Print_ISBN :
0-7803-0849-2
DOI :
10.1109/TENCON.1992.271975