• DocumentCode
    2073192
  • Title

    An evaluation of different modeling techniques for iterative compilation

  • Author

    Park, Eunjung ; Kulkarni, Sameer ; Cavazos, John

  • Author_Institution
    Dept. of Comput. & Inf. Sci., Univ. of Delaware, Newark, DE, USA
  • fYear
    2011
  • fDate
    9-14 Oct. 2011
  • Firstpage
    65
  • Lastpage
    74
  • Abstract
    Iterative compilation techniques, which involve iterating over different sets of optimizations, have proven useful in helping compilers choose the right set of optimizations for a given program. However, compilers typically have a large number of optimizations to choose from, making it impossible to iterate over a significant fraction of the entire optimization search space. Recent research has proposed to “intelligently” iterate over the optimization search space using predictive methods. In particular, state-the-art methods in iterative compilation use characteristics of the code being optimized to predict good optimization sequences to evaluate. Thus, an important step in developing predictive methods for compilation is deciding how to model the problem of choosing the right optimizations. In this paper, we evaluate three different ways of modeling the problem of choosing the right optimization sequences using machine learning techniques. We evaluate a novel prediction modeling technique, namely a tournament predictor, that is able to effectively predict good optimization sequences. We show that our tournament predictor can outperform current state-of-the-art predictors and the most aggressive setting of the Open64 compiler (-Ofast) on an average by 75% in just 10 iterations over a set of embedded and scientific kernels. Moreover, using our tournament predictor, we achieved on average 10% improvement over -Ofast for a set of MiBench applications.
  • Keywords
    formal specification; iterative methods; learning (artificial intelligence); optimising compilers; search problems; -Ofast; MiBench application; Open64 compiler; code optimization; iterative compilation technique; machine learning technique; modeling technique; optimization search space; optimization sequence; predictive method; program optimization; tournament predictor; Data models; Kernel; Machine learning algorithms; Optimization; Predictive models; Radiation detectors; Training data; compiler optimization; iterative compilation; machine learning; regression;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Compilers, Architectures and Synthesis for Embedded Systems (CASES), 2011 Proceedings of the 14th International Conference on
  • Conference_Location
    Taipei
  • Print_ISBN
    978-1-4503-0713-0
  • Type

    conf

  • Filename
    6062032