| WCET-driven, code-size critical procedure cloning |
| Full text |
Pdf
(423 KB)
|
| Source
|
ACM International Conference Proceeding Series; Vol. 296
archive
Proceedings of the 11th international workshop on Software & compilers for embedded systems
table of contents
Munich, Germany
SESSION: Optimization and code generation for embedded processors
table of contents
Pages 21-30
Year of Publication: 2008
|
|
Authors
|
|
| Sponsors |
|
| Bibliometrics |
Downloads (6 Weeks): 0, Downloads (12 Months): 27, Citation Count: 0
|
|
|
ABSTRACT
In the domain of the worst-case execution time (WCET) analysis, loops are an inherent source of unpredictability and loss of precision since the determination of tight and safe information on the number of loop iterations is a difficult task. In particular, data-dependent loops whose iteration counts depend on function parameters can not be precisely handled by a timing analysis. Procedure Cloning can be exploited to make these loops explicit within the source code allowing a highly precise WCET analysis. In this paper we extend the standard Procedure Cloning optimization by WCET-aware concepts with the objective to improve the tightness of the WCET estimation. Our novel approach is driven by WCET information which successively eliminates code structures leading to overestimated timing results, thus making the code more suitable for the analysis. In addition, the code size increase during the optimization is monitored and large increases are avoided. The effectiveness of our optimization is shown by tests on real-world benchmarks. After performing our optimization, the estimated WCET is reduced by up to 64.2% while the employed code transformations yield an additional code size increase of 22.6% on average. In contrast, the average-case performance being the original objective of Procedure Cloning showed a slight decrease.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
AbsInt Angewandte Informatik GmbH. CRL Version 2. http://www.absint.com/artist2/doc/crl2, 2007.
|
| |
2
|
AbsInt Angewandte Informatik GmbH. Worst-Case Execution Time Analyzer aiT for TriCore. 2007.
|
 |
3
|
|
| |
4
|
K. D. Cooper, M. W. Hall, and K. Kennedy. A Methodology for Procedure Cloning. Computer Languages, 19(2):105--117, 1993.
|
| |
5
|
|
| |
6
|
|
| |
7
|
|
| |
8
|
|
| |
9
|
M. R. Guthaus , J. S. Ringenberg , D. Ernst , T. M. Austin , T. Mudge , R. B. Brown, MiBench: A free, commercially representative embedded benchmark suite, Proceedings of the Workload Characterization, 2001. WWC-4. 2001 IEEE International Workshop, p.3-14, December 02-02, 2001
[doi> 10.1109/WWC.2001.15]
|
| |
10
|
Informatik Centrum Dortmund. ICD-C Compiler framework. http://www.icd.de/es/icd-c, 2007.
|
| |
11
|
ICD Low Level Intermediate Representation backend infrastructure (LLIR) -- Developer Manual. Informatik Centrum Dortmund, 2007.
|
| |
12
|
S. Lee, J. Lee, C. Y. Park, and S. L. Min. A Flexible Tradeoff between Code Size and WCET using a Dual Instruction Set Processor. In SCOPES '04: Proceedings of the 8th International Workshop on Software and Compilers for Embedded Systems, pages 244--258, Amsterdam, 2004.
|
| |
13
|
P. Lokuciejewski. A WCET-Aware Compiler. Design, Concepts and Realization. Vdm Verlag Dr. Müller, 2007.
|
 |
14
|
Paul Lokuciejewski , Heiko Falk , Martin Schwarzer , Peter Marwedel , Henrik Theiling, Influence of procedure cloning on WCET prediction, Proceedings of the 5th IEEE/ACM international conference on Hardware/software codesign and system synthesis, September 30-October 03, 2007, Salzburg, Austria
[doi> 10.1145/1289816.1289852]
|
| |
15
|
|
| |
16
|
|
| |
17
|
|
| |
18
|
D. Schulte. Modeling and transformation of flow facts within a wcet optimizing compiler (in german). Master's thesis, Technical University of Dortmund, Dortmund, Germany, May 2007.
|
| |
19
|
S. Thesing. Safe and Precise WCET Determinations by Abstract Interpretation of Pipeline Models. PhD thesis, Saarland University, 2004.
|
 |
20
|
|
| |
21
|
|
 |
22
|
|
|