1. Mathematical Foundation of Trace Scheduling.
- Author
-
Banerjee, Utpal
- Subjects
EXECUTION traces (Computer program testing) ,SCHEDULING ,MATHEMATICS ,THEORY ,ALGORITHMS ,PARALLEL programs (Computer programs) ,PROGRAM transformation ,COMPUTER programming ,SOFTWARE engineering - Abstract
Since its introduction by Joseph A. Fisher in 1979, trace scheduling has influenced much of the work on compile-time ILP (Instruction Level Parallelism) transformations. Initially developed for use in microcode compaction, it quickly became the main technique for machine-level compile-time parallelism exploitation. Although it has been used since the 1980s in many state-of-the-art compilers (e.g., Intel, Fujitsu, HP), a rigorous theory of trace scheduling is still lacking in the existing literature. This is reflected in the ad hoc way compensation code is inserted after a trace compaction, in the total absence of any attempts to measure the size of that compensation code, and so on. The aim of this article is to create a mathematical theory of the foundation of trace scheduling. We give a clear algorithm showing how to insert compensation code after a trace is replaced with its schedule, and then prove that the resulting program is indeed equivalent to the original program. We derive an upper bound on the size of that compensation code, and show that this bound can be actually attained. We also give a very simple proof that the trace scheduling algorithm always terminates. [ABSTRACT FROM AUTHOR]
- Published
- 2011
- Full Text
- View/download PDF