Title :
Time-constrained code compaction for DSPs
Author :
Leupers, Rainer ; Marwedel, Peter
Author_Institution :
Dept. of Comput. Sci., Dortmund Univ., Germany
fDate :
3/1/1997 12:00:00 AM
Abstract :
This paper addresses instruction-level parallelism in code generation for digital signal processors (DSPs). In the presence of potential parallelism, the task of code generation includes code compaction, which parallelizes primitive processor operations under given dependency and resource constraints. Furthermore, DSP algorithms in most cases are required to guarantee real-time response. Since the exact execution speed of a DSP program is only known after compaction, real-time constraints should be taken into account during the compaction phase. While previous DSP code generators rely on rigid heuristics for compaction, we propose a novel approach to exact local code compaction based on an integer programming (IP) model, which handles time constraints. Due to a general problem formulation, the IP model also captures encoding restrictions and handles instructions having alternative encodings and side effects and therefore applies to a large class of instruction formats. Capabilities and limitations of our approach are discussed for different DSPs.
Keywords :
circuit layout CAD; digital signal processing chips; integer programming; real-time systems; algorithm; code generation; digital signal processor; embedded DSP; instruction-level parallelism; integer programming model; local code compaction; real-time constraint; retargetable compilation; Compaction; Design automation; Digital signal processing; Digital signal processors; Embedded software; Encoding; Hardware; High level languages; Optimizing compilers; Very large scale integration;
Journal_Title :
Very Large Scale Integration (VLSI) Systems, IEEE Transactions on