MILEPOST GCC: machine learning based research compiler

Grigori Fursin, Cupertino Miranda, Olivier Temam, Mircea Namolaru, Elad Yom-Tov, Ayal Zaks, Bilha Mendelson, Edwin Bonilla, John Thomson, Hugh Leather, Chris Williams, Michael O'Boyle, Phil Barnard, Elton Ashton, Eric Courtois, Francois Bodin

Research output: Chapter in Book/Report/Conference proceedingConference contribution

79 Citations (Scopus)


Tuning hardwired compiler optimizations for rapidly evolving hardware makes porting an optimizing compiler for each new platform extremely challenging. Our radical approach is to develop a modular, extensible, self-optimizing compiler that automatically learns the best optimization heuristics based on the behavior of the platform. In this paper we describe MILEPOST GCC, a machine-learning-based compiler that automatically adjusts its optimization heuristics to improve the execution time, code size, or compilation time of specific programs on different architectures. Our preliminary experimental results show that it is possible to considerably reduce execution time of the MiBench benchmark suite on a range of platforms entirely automatically.
Original languageEnglish
Title of host publicationGCC Summit
Publication statusPublished - 2008


Dive into the research topics of 'MILEPOST GCC: machine learning based research compiler'. Together they form a unique fingerprint.

Cite this