Simultaneous reference allocation in code generation for dual data memory bank ASIPs
Ashok Sudarsanam, Sharad Malik · ACM Transactions on Design Automation of Electronic Systems · 2000
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.
Cited by 67 works. doi:10.1145/335043.335047 Open-access PDF
Authors
References
- Computers and Intractability: A Guide to the Theory of NP-Completeness
- Optimization by Simulated Annealing
- Compilers: Principles, Techniques, and Tools
- Register allocation via coloring
- Local Microcode Compaction Techniques
- Code generation using tree matching and dynamic programming
- Global optimizations for parallelism and locality on scalable parallel machines
- Proceedings Of The 2003 IEEE International Symposium On Circuits And systems
- Engineering a simple, efficient code-generator generator
- Compiling communication-efficient programs for massively parallel machines