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 条
  • [41] Integrating plug-in electric vehicles into power grids: A comprehensive review on power interaction mode, scheduling methodology and mathematical foundation
    Zheng, Yanchong
    Niu, Songyan
    Shang, Yitong
    Shao, Ziyun
    Jian, Linni
    RENEWABLE & SUSTAINABLE ENERGY REVIEWS, 2019, 112 : 424 - 439
  • [42] A VLIW architecture for a trace scheduling compiler
    Colwell, Robert P.
    Nix, Robert P.
    O'Donnell, John J.
    Papworth, David B.
    Rodman, Paul K.
    Operating Systems Review (ACM), 1987, 21 (04): : 180 - 192
  • [43] A VLIW ARCHITECTURE FOR A TRACE SCHEDULING COMPILER
    COLWELL, RP
    NIX, RP
    ODONNELL, JJ
    PAPWORTH, DB
    RODMAN, PK
    IEEE TRANSACTIONS ON COMPUTERS, 1988, 37 (08) : 967 - 979
  • [44] Speculative trace scheduling in VLIW processors
    Agarwal, M
    Nandy, SK
    von Eijndhoven, J
    Balakrishnan, S
    ICCD'2002: IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN: VLSI IN COMPUTERS AND PROCESSORS, PROCEEDINGS, 2002, : 408 - 413
  • [45] Optimal Trace Scheduling Using Enumeration
    Shobaki, Ghassan
    Wilken, Kent
    Heffernan, Mark
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2008, 5 (04)
  • [46] A mathematical approach of semiclassical "trace formulae"
    Combescure, M
    5TH WIGNER SYMPOSIUM, PROCEEDINGS, 1998, : 383 - 385
  • [47] Industry foundation class modeling for estimating and scheduling
    Froese, TM
    Yu, KQ
    DURABILITY OF BUILDING MATERIALS AND COMPONENTS 8, VOLS 1-4, PROCEEDINGS, 1999, : 2825 - 2835
  • [48] QUANTUM WALKS AS MATHEMATICAL FOUNDATION FOR QUANTUM GATES
    Solenov, Dmitry
    QUANTUM INFORMATION & COMPUTATION, 2020, 20 (3-4) : 230 - 258
  • [49] MATHEMATICAL FOUNDATION FOR ANALYSIS OF CLADISTIC CHARACTER COMPATIBILITY
    ESTABROOK, GF
    JOHNSON, CS
    MCMORRIS, FR
    MATHEMATICAL BIOSCIENCES, 1976, 29 (1-2) : 181 - 187
  • [50] MATHEMATICAL FOUNDATION OF GENERAL COOPERATIVE FUZZY GAMES
    YAMADA, A
    TSURUMI, S
    TOHOKU MATHEMATICAL JOURNAL, 1983, 35 (01) : 53 - 63