[176984]
Title: Design of a WCET-Aware C Compiler. <em>In Proceedings of the 6th International Workshop on Worst-Case Execution Time Analysis (WCET)</em>
Written by: Heiko Falk, Paul Lokuciejewski and Henrik Theiling
in: July (2006).
Volume: Number:
on pages:
Chapter:
Editor:
Publisher:
Series: 20060704-wcet-falk-lokuciejewski.pdf
Address: Dresden / Germany
Edition:
ISBN: 10.4230/OASIcs.WCET.2006.673
how published: 06-45 FLT06a WCET
Organization:
School:
Institution:
Type:
DOI:
URL:
ARXIVID:
PMID:

Note: hfalk, ESD, WCC

Abstract: This paper presents techniques to tightly integrate worst-case execution time (WCET) information into a compiler framework. Currently, a tight integration of WCET information into the compilation process is strongly desired, but only some ad-hoc approaches have been reported currently. Previous publications mainly used self-written WCET estimators with very limited functionality and preciseness during compilation. A very tight integration of a high quality industry-relevant WCET analyzer into a compiler was not yet achieved up to now. This work is the first to present techniques capable of achieving such a tight coupling between a compiler and the WCET analyzer aiT. This is done by automatically translating the assembly-like contents of the compiler's low-level intermediate representation (LLIR) to aiT’s exchange format CRL2. Additionally, the results produced by the WCET analyzer are automatically collected and re-imported into the compiler infrastructure. The work described in this paper is smoothly integrated into a C compiler environment for the Infineon TriCore processor. It opens up new possibilities for the design of WCET-aware optimizations in the future.<br /> The concepts for extending the compiler infrastructure are kept very general so that they are not limited to WCET information. Rather, it is possible to use our structures also for multi-objective optimization of e. g. best-case execution time (BCET) or energy dissipation.