Minimizing Schedule Length via Cooperative Register Allocation and Loop Scheduling for Embedded Systems
Authors:
- Yazhi HuangYHYazhi Huang
- Qingan LiQLQingan Li
- Chun Jason XueCXChun Jason Xue
- 1 November 2011
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1038-1044
Abstract
Loops are typically the most computation intensive sections for embedded applications. Therefore, it is important to minimize the overall schedule length for loops during the compilation process. Register allocation and instruction scheduling are two key activities during a compilation process. These two activities exhibit a phase ordering problem: Instruction scheduling before register allocation could lengthen live ranges of variables which will create more conflicts and more costly spills; Register allocation before scheduling may result in the same register assignment to two independent variables which will limit the choices available for scheduling. This paper proposes a cooperative re-scheduling register allocation technique for loops that combines these two critical stages together to minimize the schedule length. The novelty of the proposed approach is that the responsibility for balancing the phase ordering problem lies within the register allocator, which can re-schedule the aggressive initial scheduling to minimize the schedule length. Experimental results show that the proposed approach can reduce overall schedule length by 12% on average compared to previous techniques.Keywords
This publication has 13 references indexed in Scilit:
- Iterational retiming with partitioningACM Transactions on Embedded Computing Systems, 2010
- Effective Loop Partitioning and Scheduling under Memory and Register Dual Constraints2008
- Maximize Parallelism Minimize Overhead for Nested Loops via Loop StripingJournal of Signal Processing Systems, 2007
- Algorithms and analysis of scheduling for loops with minimum switchingInternational Journal of Computational Science and Engineering, 2006
- A fast, memory-efficient register allocation framework for embedded systemsACM Transactions on Programming Languages and Systems, 2004
- Register aware scheduling for distributed cache clustered architecture2003
- Rotation scheduling: a loop pipelining algorithmIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 1997
- Instruction-level parallel processing: History, overview, and perspectiveThe Journal of Supercomputing, 1993
- Register requirements of pipelined processors1992
- Register allocation via coloringComputer Languages, 1981