DocumentCode :
500838
Title :
WCET-aware register allocation based on graph coloring
Author :
Falk, Heiko
Author_Institution :
Comput. Sci. 12, Tech. Univ. Dortmund, Dortmund, Germany
fYear :
2009
fDate :
26-31 July 2009
Firstpage :
726
Lastpage :
731
Abstract :
Current compilers lack precise timing models guiding their built-in optimizations. Hence, compilers apply ad-hoc heuristics during optimization to improve code quality. One of the most important optimizations is register allocation. Many compilers heuristically decide when and where to spill a register to memory, without having a clear understanding of the impact of such spill code on a program´s run time. This paper extends a graph coloring register allocator such that it uses precise worst-case execution time (WCET) models. Using this WCET timing data, the compiler tries to avoid spill code generation along the critical path defining a program´s WCET. To the best of our knowledge, this paper is the first one to present a WCET-aware register allocator. Our results underline the effectiveness of the proposed techniques. For a total of 46 realistic benchmarks, we reduced WCETs by 31.2% on average. Additionally, the runtimes of our WCET-aware register allocator still remain acceptable.
Keywords :
graph colouring; optimising compilers; program diagnostics; software quality; storage allocation; WCET-aware register allocation; ad-hoc heuristics; code quality improvement; critical path; graph coloring; memory allocation; optimizing compiler; program run time; spill code; worst-case execution time model; Design optimization; Embedded system; Optimizing compilers; Permission; Program processors; Real time systems; Registers; Runtime; Safety; Timing; Register Allocation; WCET;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Design Automation Conference, 2009. DAC '09. 46th ACM/IEEE
Conference_Location :
San Francisco, CA
ISSN :
0738-100X
Print_ISBN :
978-1-6055-8497-3
Type :
conf
Filename :
5227095
Link To Document :
بازگشت