Title :
Function inlining under code size constraints for embedded processors
Author :
Leupers, R. ; Marwedel, P.
Author_Institution :
Dept. of Comput. Sci., Dortmund Univ., Germany
Abstract :
Function inlining is a compiler optimization that generally increases performance at the expense of larger code size. However, current inlining techniques do not meet the special demands in the design of embedded systems, since they are based on simple heuristics, and they generate code of unpredictable size. This paper presents a novel approach to function inlining in C compilers for embedded processors, which aims at maximum program speedup under a global limit on code size. The core of this approach is a branch-and-bound algorithm which allows one to quickly explore the large search space. In an application study, we show how this algorithm can be applied to maximize the execution speed of an application under a given code size constraint.
Keywords :
C language; embedded systems; optimising compilers; software performance evaluation; tree searching; C compilers; branch-and-bound algorithm; code size constraints; compiler optimization; embedded processors; execution speed; function inlining; maximum program speedup; performance; search space; Assembly; Computer architecture; Computer science; Constraint optimization; Embedded computing; Embedded system; Optimizing compilers; Productivity; Program processors; Registers;
Conference_Titel :
Computer-Aided Design, 1999. Digest of Technical Papers. 1999 IEEE/ACM International Conference on
Conference_Location :
San Jose, CA, USA
Print_ISBN :
0-7803-5832-5
DOI :
10.1109/ICCAD.1999.810657