Statistical Selection of Compiler Options

  • Authors:
  • R. P. J. Pinkers;P. M. W. Knijnenburg;M. Haneda;H. A. G. Wijshoff

  • Affiliations:
  • Leiden University;Leiden University;Leiden University;Leiden University

  • Venue:
  • MASCOTS '04 Proceedings of the The IEEE Computer Society's 12th Annual International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunications Systems
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

Compilers have many switches or options that enable certain code optimizations. However, it is well known that the optimal set of options to be turned on is dependent on both the application as well as the target architecture. In many cases, standard settings like -O3 produce suboptimal results due to negative interference of some of the options they contain. In this paper, we propose an automatic iterative procedure to turn on or to turn off compiler options. This procedure is based on Orthogonal Arrays that are used for a statistical analysis of profile information to calculate the main effect of the options. We show that our approach outperforms -O3 of GCC on six SPEC benchmarks.