Mathematical Foundation of Trace Scheduling

被引:1
|
作者
Banerjee, Utpal [1 ]
机构
[1] Univ Calif Irvine, Dept Comp Sci, Irvine, CA 92697 USA
关键词
Algorithm; Theory; Trace scheduling; trace replacement; compensation code; MICROCODE COMPACTION;
D O I
10.1145/1961204.1961206
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页数:24
相关论文
共 50 条
  • [21] Scheduling algorithm and scheduling mathematical model of machining time
    Tian, Ya
    Yang, Peng
    Song, Xiaokui
    Shi, Tianlin
    AGRO FOOD INDUSTRY HI-TECH, 2017, 28 (01): : 2349 - 2352
  • [22] MATHEMATICAL FOUNDATION OF A NEW COMPLEXITY MEASURE
    沈恩华
    蔡志杰
    顾凡及
    AppliedMathematicsandMechanics(EnglishEdition), 2005, (09) : 1188 - 1196
  • [23] Mathematical challenges in scheduling theory
    Blazewicz, Jacek
    Moseley, Benjamin
    Pesch, Erwin
    Trystram, Denis
    Zhang, Guochuan
    JOURNAL OF SCHEDULING, 2023, 26 (06) : 519 - 521
  • [24] MATHEMATICAL ASPECTS OF SCHEDULING THEORY
    BELLMAN, R
    JOURNAL OF THE SOCIETY FOR INDUSTRIAL AND APPLIED MATHEMATICS, 1956, 4 (03): : 168 - 205
  • [25] The mathematical foundation of distributed interleaved systems
    Ozeri, Shaul
    Shmilovitz, Doron
    Singer, Sigmond
    Martinez-Salamero, Luis
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2007, 54 (03) : 610 - 619
  • [26] Scheduling algorithm and scheduling mathematical model of machining time
    Yang, Peng, 1600, TeknoScienze, Viale Brianza,22, Milano, 20127, Italy (28):
  • [27] A MATHEMATICAL FOUNDATION FOR RADIATIVE TRANSFER THEORY
    PREISENDORFER, RW
    JOURNAL OF MATHEMATICS AND MECHANICS, 1957, 6 (05): : 685 - 730
  • [28] Mathematical foundation of the replicating portfolio approach
    Natolski, Jan
    Werner, Ralf
    SCANDINAVIAN ACTUARIAL JOURNAL, 2018, (06) : 481 - 504
  • [29] Mathematical foundation of a new complexity measure
    Shen, EH
    Cai, ZJ
    Gu, FJ
    APPLIED MATHEMATICS AND MECHANICS-ENGLISH EDITION, 2005, 26 (09) : 1188 - 1196
  • [30] A rigorous mathematical foundation of functional integration
    Cartier, P
    DeWittMorette, C
    FUNCTIONAL INTEGRATION: BASICS AND APPLICATIONS, 1997, 361 : 1 - 50