An Efficient WCET-Aware Instruction Scheduling and Register Allocation Approach for Clustered VLIW Processors
Open Access
- 27 September 2017
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Embedded Computing Systems
- Vol. 16 (5s) , 1-21
Abstract
In real-time embedded system design, one major goal is to construct a feasible schedule. Whether a feasible schedule exists depends on the Worst-Case Execution Time (WCET) of each task. Consequently, it is important to minimize the WCET of each task. We investigate the problem of instruction scheduling and register allocation for a program executed on a clustered Very Long Instruction Word (VLIW) processor such that the WCET of the program is minimized, and propose a novel, unified instruction scheduling and register allocation heuristic approach. Our heuristic approach is underpinned by a set of novel techniques, including spanning graph-based WCET-aware live range splitting, WCET-aware dynamic register pressure control, WCET-aware basic block prioritization for performing integrated instruction scheduling and register allocation, and WCET-aware spill code handling. We have implemented our approach in Trimaran 4.0, and compared it with the state-of-the-art approach by using a set of 20 benchmarks. The experimental results show that our approach achieves the maximum WCET improvement of 29.61% and the average WCET improvement of 10.23%, respectively.Keywords
This publication has 22 references indexed in Scilit:
- A Compile-Time Optimization Method for WCET Reduction in Real-Time Embedded Systems through Block FormationACM Transactions on Architecture and Code Optimization, 2016
- C3: Cooperative Code Positioning and Cache Locking for WCET Minimization2015
- Instruction scheduling with k-successor tree for clustered VLIW processorsDesign Automation for Embedded Systems, 2013
- Minimizing Schedule Length via Cooperative Register Allocation and Loop Scheduling for Embedded Systems2011
- An efficient heuristic for instruction scheduling on clustered vliw processors2011
- Trimaran: An Infrastructure for Research in Instruction-Level Parallelism2005
- Optimistic register coalescingACM Transactions on Programming Languages and Systems, 2004
- Linear scan register allocationACM Transactions on Programming Languages and Systems, 1999
- Smallest-last ordering and clustering and graph coloring algorithmsJournal of the ACM, 1983
- Register allocation via coloringComputer Languages, 1981