Abstract
A fast, optimal code scheduling algorithm for processors with a delayed lo,ad of 1 instruction cycle is described. The algorithm minimizes both execution time and register use and runs in time proportional to the size of the expression tree. Extensions that spill registers when too few are available are also presented. The algorithm also performs very well for delayed loads of greater than 1 instruction cycle. For machines with load delays greater than 1, bounds are given for the minimal number of registers needed for optimally evaluating an expression tree.
Original language | English (US) |
---|---|
Pages (from-to) | 256-267 |
Number of pages | 12 |
Journal | SIGPLAN Notices (ACM Special Interest Group on Programming Languages) |
Volume | 26 |
Issue number | 6 |
DOIs | |
State | Published - Jan 5 1991 |
Externally published | Yes |
ASJC Scopus subject areas
- Software
- Computer Graphics and Computer-Aided Design