DocumentCode :
2331324
Title :
WCET code positioning
Author :
Zhao, Wankang ; Whalley, David ; Healy, Christopher ; Mueller, Frank
Author_Institution :
Dept. of Comput. Sci., Florida State Univ., Tallahassee, FL, USA
fYear :
2004
fDate :
5-8 Dec. 2004
Firstpage :
81
Lastpage :
91
Abstract :
Some processors incur a pipeline delay whenever an instruction transfers control to a target that is not the next sequential instruction. Compiler writers attempt to reduce these delays by positioning the basic blocks within a function to minimize the number of unconditional jumps and taken conditional branches that occur. Such a code positioning algorithm is traditionally driven by profile data representing typical program executions where pairs of blocks are placed in contiguous order when the transitions between these blocks occur most frequently. In this paper we describe an approach to perform code positioning without profiling in an attempt to reduce WCET instead of ACET. Our compiler interacts with a timing analyzer to obtain WCET path information to guide the block positioning. The results show over a 9% average reduction in WCET is achieved after code positioning is performed and our greedy WCET code positioning algorithm always achieves optimal results for our benchmark suite.
Keywords :
delays; greedy algorithms; program compilers; WCET code positioning; greedy algorithm; pipeline delay; program compiler; sequential instruction; worst case execution time; Delay; Distributed power generation; Embedded system; Information analysis; Optical wavelength conversion; Optimizing compilers; Performance analysis; Pipelines; Time factors; Timing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Real-Time Systems Symposium, 2004. Proceedings. 25th IEEE International
ISSN :
1052-8725
Print_ISBN :
0-7695-2247-5
Type :
conf
DOI :
10.1109/REAL.2004.55
Filename :
1381297
Link To Document :
بازگشت