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 条
  • [1] MATHEMATICAL FOUNDATION FOR THERMODYNAMICS
    COLEMAN, BD
    OWEN, DR
    ARCHIVE FOR RATIONAL MECHANICS AND ANALYSIS, 1974, 54 (01) : 1 - 104
  • [2] A mathematical foundation for QUMOND
    Frenkler, Joachim
    JOURNAL OF MATHEMATICAL PHYSICS, 2025, 66 (01)
  • [3] A Mathematical Foundation for Foundation Paper Pieceable Quilts
    Leake, Mackenzie
    Bernstein, Gilbert
    Davis, Abe
    Agrawala, Maneesh
    ACM TRANSACTIONS ON GRAPHICS, 2021, 40 (04):
  • [4] Mathematical foundation of quantum annealing
    Morita, Satoshi
    Nishimori, Hidetoshi
    JOURNAL OF MATHEMATICAL PHYSICS, 2008, 49 (12)
  • [5] An alternative mathematical foundation for statistics
    Lutz, R
    Musio, M
    ACTA APPLICANDAE MATHEMATICAE, 2005, 89 (1-3) : 217 - 249
  • [6] A Mathematical Foundation for Chord Overlays
    Vakili, Golnaz
    Hashemi, S. Mehdi
    Khorsandi, Siavash
    INTERNATIONAL CONFERENCE ON ADVANCED COMPUTER CONTROL : ICACC 2009 - PROCEEDINGS, 2009, : 523 - 527
  • [7] Mathematical foundation of convexity correction
    Pelsser, A
    QUANTITATIVE FINANCE, 2003, 3 (01) : 59 - 65
  • [8] Mathematical foundation of Liutex theory
    Liu, Chaoqun
    Yu, Yifei
    JOURNAL OF HYDRODYNAMICS, 2022, 34 (06): : 981 - 993
  • [9] A metaphysical foundation for mathematical philosophy
    Krzysztof Wójtowicz
    Bartłomiej Skowron
    Synthese, 200
  • [10] A metaphysical foundation for mathematical philosophy
    Wojtowicz, Krzysztof
    Skowron, Bartlomiej
    SYNTHESE, 2022, 200 (04)