Title: Design of a WCET-Aware C Compiler. <em>In Proceedings of the 4th IEEE Workshop on Embedded Systems for Real-Time Multimedia (ESTIMedia)</em>
Written by: Heiko Falk, Paul Lokuciejewski and Henrik Theiling
in: October (2006).
Volume: Number:
on pages: 121-126
Series: 20061027-estimedia-falk-lokuciejewski.pdf
Address: Seoul / South Korea
ISBN: 10.1109/ESTMED.2006.321284
how published: 06-20 FLT06b ESTIMedia


Note: hfalk, ESD, WCC

Abstract: This paper presents techniques to integrate worst-case execution time (WCET) data into a compiler. Currently, a tight integration of WCET into compilers is strongly desired, but only some ad-hoc approaches were reported currently. Previous work mainly used self-written WCET estimators with limited functionality and preciseness during compilation. A very tight integration of a high quality WCET analyzer into a compiler was not yet achieved. This work is the first to present 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 format (LLIR) to aiT’s exchange format CRL2. Additionally, the results produced by aiT are automatically collected and re-imported into the compiler infrastructure. The work described in this paper is smoothly integrated into a C compiler 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 structure are kept very general so that they are not limited to WCET information. Rather, it is possible to use our concepts also for multi-objective optimization of e. g. best-case execution time (BCET) or energy dissipation.