ACM Home Page
Please provide us with feedback. Feedback
Scheduling time-critical instructions on RISC machines
Full text PdfPdf (1.17 MB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 17th ACM SIGPLAN-SIGACT symposium on Principles of programming languages table of contents
San Francisco, California, United States
Pages: 270 - 280  
Year of Publication: 1989
ISBN:0-89791-343-4
Authors
Krishna Palem  IBM Research Division, T.J. Watson Research Center, P. O. Box 704, Yorktown Heights, NY
Barbara Simons  IBM Research Division, Almaden Research Center, 650 Harry Road, San Jose, CA
Sponsors
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 15,   Citation Count: 7
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/96709.96737
What is a DOI?

ABSTRACT

An instruction or a set of instructions can be considered time critical if their execution is required to free up a resource. Time critical instructions might be used to make shared resources such as registers more quickly available for reuse; or they might be used for real time computations, portions of which are critical for the operation of some piece of equipment. In this paper we present a polynomial time algorithm for optimally scheduling instructions with or without time critical constraints on RISC machines such as the IBM 801, the Berkeley RISC machine, and the HP Precision Architecture. We also show that in the absence of time critical constraints, the greedy algorithm always produces a schedule for a target machine with multiple identical pipelines that has a length less than twice that of an optimal schedule. The behavior of the greedy algorithm is of interest because, as we show, the instruction scheduling problem becomes NP-hard for arbitrary length pipelines, even when the basic block of code being input consists of only several independent streams of straight-line code, and there are no time-critical constraints. Finally, we present the first correct proofs that the problem becomes NP-hard even for small pipelines, no time-critical constraints, and input of several independent streams of straight-line code if there is only a single register or if there is a bus constraint.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
F. Allen, B. Rosen, and K. Zadeck (eds), "Optimization in Compilers', MIT Pzess, to appear.
3
4
 
5
 
6
J. Bruno, J.W. Jones iII, and K. So, "Deterlninistic scheduling with pipelined processors", 1EEE Trans. Computers, C-29, (1980), 308-316.
 
7
 
8
J.A. Fisher, "Trace Scheduling: A Technique for Global Microcode Compaction", IEEE Trans. on Computers, Vo}. C-30, No. 7, (July, 1981) 478-490.
 
9
10
 
11
R. L. Graham, "Bounds for Certain Multiprocessor Anomalies", Bell System Technical Journal, 45, (1966), 1563-158 ~.
12
13
 
14
J. Hennessy, N. Jouppi, J. Gill, F. Baskett., A. Strong, T. Gross, C. Rowen, and J. Leonard, "The MIPS Machine", Proc. 1EEE Coupcon, San Francisco, CA, (Feb. 1982), 2-7.
 
15
 
16
E. Lawler, J.K. Lenstra, C. Martel, B. Simons, and L. Stockmeyer, "Pipeline Scheduling: A Survey", Technical Report, RJ 5738, IBM Research Division, San Jose, CA., (1987).
 
17
 
18
 
19
 
20
K. Palem and B. Simons, "Algorithms for Optimal Instruction Scheduling on Pipelines", Confidential Technical Report, RJ 6592, IBM Research Division, San Jose, CA, (1988).
 
21
C. Papadimitriou and M. Yannakakis, "Scheduling interval-ordered tasks", SlAM J. Compnt., 8, (1979), 405-409.
22
 
23
G. Radin, "The 801 Minicomputer~, IBM J. Res. Dev. ,77, (1983), 237-246.
24
25


Collaborative Colleagues:
Krishna Palem: colleagues
Barbara Simons: colleagues