1
Improving WCET by Optimizing Worst-Case Paths
Wankang Zhao 1, William Kreahling 1, David Whalley 1, Christopher Healy 2, Frank Mueller 3
- 1. Florida State University
- 2. Furman University
- 3. North Carolina State University
Improving WCET by Optimizing Worst-Case Paths Wankang Zhao 1 , - - PowerPoint PPT Presentation
Improving WCET by Optimizing Worst-Case Paths Wankang Zhao 1 , William Kreahling 1 , David Whalley 1 , Christopher Healy 2 , Frank Mueller 3 1. Florida State University 2. Furman University 3. North Carolina State University 1 Motivation
1
2
applications.
reduce power consumption while still meeting the timing constraints.
3
4
5
6
case timing analyzer to the StarCore SC100 processor.
select which paths to optimize and to ensure the WCET improves before committing to a code size increase.
7
– Make a superblock along the worst-case path.
– Duplicate the worst-case path.
– Unroll the loop by a factor of two to reduce the number of branches of executed and transfer of control stalls.
8
9
10
11
12
13
14
15
does not.
16
17
18
19
20
21
Superblock Formation Other Optimizations Code Positioning Path Duplication
22
23
24
Superblock Formation Other Optimizations Code Positioning Loop Unrolling
25
26
27
28
29
– detect the WC paths in a function – determine the effect of the WC path optimization on these paths – ensure the WCET improves before committing to a code size increase
30