Title :
Generation of minimal size code for schedule graphs
Author :
Passerone, Claudio ; Watanabe, Yosinori ; Lavagno, Luciano
Author_Institution :
Politecnico di Torino, Italy
Abstract :
This paper proposes a procedure for minimizing the code size of sequential programs for reactive systems. It identifies repeated code segments (a generalization of basic blocks to directed rooted trees) and finds a minimal covering of the input control flow graphs with code segments. The segments are disjunct, i.e. no two segments have the same code in common. The program is minimal in the sense that the number of code segments is minimum under the property of disjunction for the given control flow specification. The procedure makes no assumption on the target processor architecture, and is meant to be used between task synthesis algorithms from a concurrent specification and a standard compiler for the target architecture. It is aimed at optimizing the size of very large, automatically generated flat code, and extends dramatically the scope of classical common sub-expression identification techniques. The potential effectiveness of the proposed approach is demonstrated through preliminary experiments
Keywords :
data flow graphs; minimisation; scheduling; software engineering; automatically generated flat code; code segments; concurrent specification; control flow specification; directed rooted trees; disjunction; input control flow graphs; minimal size code; reactive systems; repeated code segments; schedule graphs; sequential programs; standard compiler; target architectur; Application software; Automatic control; Design methodology; Embedded system; Hardware; Productivity; Programming; Software performance; Software quality; Tree graphs;
Conference_Titel :
Design, Automation and Test in Europe, 2001. Conference and Exhibition 2001. Proceedings
Conference_Location :
Munich
Print_ISBN :
0-7695-0993-2
DOI :
10.1109/DATE.2001.915096