A framework for resource-constrained rate-optimal software pipelining

被引:20
作者
Govindarajan, R
Altman, ER
Gao, GR
机构
[1] INDIAN INST SCI, DEPT COMP SCI & AUTOMAT, BANGALORE 560012, KARNATAKA, INDIA
[2] IBM CORP, THOMAS J WATSON RES CTR, YORKTOWN HTS, NY 10598 USA
[3] MCGILL UNIV, SCH COMP SCI, MONTREAL, PQ H3A 2A7, CANADA
关键词
instruction-level parallelism; instruction scheduling; integer linear programming; software pipelining; superscalar and VLIW architectures;
D O I
10.1109/71.544355
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The rapid advances in high-performance computer architecture and compilation techniques provide both challenges and opportunities to exploit the rich solution space of software pipelined loop schedules. In this paper, we develop a framework to construct a software pipelined loop schedule which runs on the given architecture (with a fixed number of processor resources) at the maximum possible iteration rate (a la rate-optimal) while minimizing the number of buffers-a close approximation to minimizing the number of registers. The main contributions of this paper are: First, we demonstrate that such problem can be described by a simple mathematical formulation with precise optimization objectives under a periodic linear scheduling framework. The mathematical formulation provides a clear picture which permits one to visualize the overall solution space (for rate-optimal schedules) under different sets of constraints. Secondly, we show that a precise mathematical formulation and its solution does make a significant performance difference. We evaluated the performance of our method against three leading contemporary heuristic methods. Experimental results show that the method described in this paper performed significantly better than these methods. The techniques proposed in this paper are useful in two different ways: 1) As a compiler option which can be used in generating faster schedules for performance-critical loops (if the interested users are willing to trade the cost of longer compile time with faster runtime). 2) As a framework for compiler writers to evaluate and improve other heuristics-based approaches by providing quantitative information as to where and how much their heuristic methods could be further improved.
引用
收藏
页码:1133 / 1149
页数:17
相关论文
共 43 条
[21]  
HENDREN LJ, 1992, PROCEEDINGS OF THE 1992 INTERNATIONAL CONFERENCE ON COMPUTER LANGUAGES, P242, DOI 10.1109/ICCL.1992.185488
[22]  
HENREN LJ, 1992, P 4 INT C COMP CONST, P176
[23]  
HU TC, 1969, INTEGER PROGRAMMING, P270
[24]  
HUFF RA, 1993, SIGPLAN NOTICES, V28, P258, DOI 10.1145/173262.155115
[25]   A FORMAL APPROACH TO THE SCHEDULING PROBLEM IN HIGH-LEVEL SYNTHESIS [J].
HWANG, CT ;
LEE, JH ;
HSU, YC .
IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 1991, 10 (04) :464-475
[26]  
LAM M, 1988, P SIGPLAN 88 C PROGR, V23, P318
[27]  
MOON SM, 1992, P 25 ANN INT S MICR, V23, P55
[28]  
NICOLAU A, 1988, 88934 TR CORN U DEP
[29]  
NING Q, 1993, THESIS MCGILL U MONT
[30]  
NING Q, 1993, 20TH P ANN ACM SIGPL, P29