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 条
  • [31] On mathematical foundation of the Brownian motor theory
    Koralov, L.
    Molchanov, S.
    Vainberg, B.
    JOURNAL OF FUNCTIONAL ANALYSIS, 2014, 267 (06) : 1725 - 1750
  • [32] VOLCANIC TREMORS GIVEN MATHEMATICAL FOUNDATION
    SORNETTE, D
    PHYSICS WORLD, 1992, 5 (01) : 23 - 24
  • [33] Mathematical Foundation for Designing and Modeling Cyberworlds
    Ohmori, Kenji
    Kunii, Tosiyasu L.
    2009 INTERNATIONAL CONFERENCE ON CYBERWORLDS, 2009, : 80 - +
  • [34] Mathematical challenges in scheduling theory
    Jacek Blazewicz
    Benjamin Moseley
    Erwin Pesch
    Denis Trystram
    Guochuan Zhang
    Journal of Scheduling, 2023, 26 : 519 - 521
  • [35] Mathematical foundation of a new complexity measure
    Shen En-hua
    Cai Zhi-jie
    Gu Fan-ji
    Applied Mathematics and Mechanics, 2005, 26 (9) : 1188 - 1196
  • [36] SCHEDULING MANPOWER BY MATHEMATICAL PROGRAMMING
    ROTHSTEIN, M
    INDUSTRIAL ENGINEER, 1972, 4 (04): : 29 - +
  • [37] A Mathematical and Experimental Foundation for Stereoscopic Photography
    Hill, Armin J.
    JOURNAL OF THE SOCIETY OF MOTION PICTURE & TELEVISION ENGINEERS, 1953, 61 (06): : 461 - 486
  • [38] Remarks on BioHash and its mathematical foundation
    Teoh, Andrew
    Jin, Beng
    Connie, Tee
    Ngo, David
    Ling, Chek
    INFORMATION PROCESSING LETTERS, 2006, 100 (04) : 145 - 150
  • [39] A Mathematical Foundation for Stochastic Opinion Dynamics
    Castro, Luis E.
    Shaikh, Nazrul I.
    INTERNATIONAL JOURNAL OF BUSINESS ANALYTICS, 2019, 6 (01) : 20 - 42