Simultaneous reference allocation in code generation for dual data memory bank ASIPs
- 1 April 2000
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Design Automation of Electronic Systems
- Vol. 5 (2) , 242-264
- https://doi.org/10.1145/335043.335047
Abstract
We address the problem of code generation for DSP systems on a chip. In such systems, the amount of silicon devoted of program ROM is limited, so application software must be sufficiently dense. Additionally, the software must be written so as to meet various high-performance constraints, which may include hard real-time constraints. Unfortunately, current compiler technology is unable to generate high-quality code for DSPs, whose architectures are highly irregular. Thus, designers often resort to programming application software in assembly—a time-consuming task. In this paper, we focus on providing support for architectural feature of DSPs that makes code generation difficult, namely multiple data memory banks. This feature increases memory bandwith by permitting multiple data memory accesses to occur in parallel when the referenced variables belong to different data memory banks and the registers involved conform to a strict set of conditions. We present an algorithm that attempst to maximize the benefit of this architectural feature. While previous approaches have decoupled the phases of register allocation and memory bank assignment, thereby compromising code quality, our algorithm performs these two phases simultaneously. Experimental results demonstrate that our algorithm not only generates high-quality compiled code, but also improves the quality of completely-referenced code.Keywords
This publication has 12 references indexed in Scilit:
- Exploiting dual data-memory banks in digital signal processorsACM SIGOPS Operating Systems Review, 1996
- Using register-transfer paths in code generation for heterogeneous memory-register architecturesPublished by Association for Computing Machinery (ACM) ,1996
- Optimal code generation for embedded memory non-homogeneous register architecturesPublished by Association for Computing Machinery (ACM) ,1995
- Global optimizations for parallelism and locality on scalable parallel machinesACM SIGPLAN Notices, 1993
- Engineering a simple, efficient code-generator generatorACM Letters on Programming Languages and Systems, 1992
- Compiling communication-efficient programs for massively parallel machinesIEEE Transactions on Parallel and Distributed Systems, 1991
- Code generation using tree matching and dynamic programmingACM Transactions on Programming Languages and Systems, 1989
- Optimization by Simulated AnnealingScience, 1983
- Register allocation via coloringComputer Languages, 1981
- Local Microcode Compaction TechniquesACM Computing Surveys, 1980