Sciweavers

CGO
2009
IEEE

Automatic Feature Generation for Machine Learning Based Optimizing Compilation

14 years 6 months ago
Automatic Feature Generation for Machine Learning Based Optimizing Compilation
Recent work has shown that machine learning can automate and in some cases outperform hand crafted compiler optimizations. Central to such an approach is that machine learning techniques typically rely upon summaries or features of the program. The quality of these features is critical to the accuracy of the resulting machine learned algorithm; no machine learning method will work well with poorly chosen features. However, due to the size and complexity of programs, theoretically there are an infinite number of potential features to choose from. The compiler writer now has to expend effort in choosing the best features from this space. This paper develops a novel mechanism to automatically find those features which most improve the quality of the machine learned heuristic. The feature space is described by a grammar and is then searched with genetic programming and predictive modeling. We apply this technique to loop unrolling in GCC 4.3.1 and evaluate our approach on a Pentium 6. O...
Hugh Leather, Edwin V. Bonilla, Michael O'Boyle
Added 18 May 2010
Updated 18 May 2010
Type Conference
Year 2009
Where CGO
Authors Hugh Leather, Edwin V. Bonilla, Michael O'Boyle
Comments (0)