• DocumentCode
    2997609
  • Title

    Link-time optimization techniques for eliminating conditional branch redundancies

  • Author

    Fernández, Manel ; Espasa, Roger

  • Author_Institution
    Univ. Politecnica de Catalunya, Barcelona, Spain
  • fYear
    2004
  • fDate
    15 Feb. 2004
  • Firstpage
    87
  • Lastpage
    96
  • Abstract
    Optimizations performed at link time or directly applied to final program executables have received increased attention in recent years. This work discusses the discovery and elimination of redundant conditional branches in the context of a link-time optimizer, an optimization that we call conditional branch redundancy elimination (CBRE). Our experiments show that around 20% of conditional branches in a program can be considered redundant because their outcomes can be determined from a previous short dynamic execution frame. Then, we present several CBRE algorithms targeted at optimizing away these redundancies. Our results show that around 5% of the conditional branch redundancy detected can indeed be eliminated, which translates into execution time reductions of around 4%. We also give accurate measures of the impact of applying CBRE in code growth.
  • Keywords
    optimising compilers; program debugging; redundancy; branch redundancy detection; code growth; conditional branch redundancy elimination; dynamic execution frame; execution time reductions; link-time optimization; link-time optimizer; program execution; Computer architecture; Electronic mail; Force feedback; Instruments; Optimizing compilers; Performance analysis; Performance evaluation; Production; Program processors; Time measurement;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Interaction between Compilers and Computer Architectures, 2004. INTERACT-8 2004. Eighth Workshop on
  • Print_ISBN
    0-7695-2061-8
  • Type

    conf

  • DOI
    10.1109/INTERA.2004.1299513
  • Filename
    1299513