DocumentCode :
3714698
Title :
Improved batch elimination: A fast algorithm to identify and remove harmful compiler optimizations
Author :
Ewerton Daniel de Lima;Anderson Faustino da Silva
Author_Institution :
Departament of Informatic, State University of Maring?, Maring?, Paran?, Brazil
fYear :
2015
Firstpage :
1
Lastpage :
8
Abstract :
Modern compilers provide several optimizations that can be applied to the source code, in order to increase its performance. Due to the complex relationship between various optimizations, discovering harmful compiler optimizations is a problem in the context of compilers. Strategies based on iterative compilation try to solve this problem evaluating the performance of the compiled program using different sets. In this context, Combined Elimination is an efficient iterative compilation strategy. The purpose of Combined Elimination is to identify the harmful optimizations and remove them in an iterative compilation process. Combined Elimination provides good results, which are close to those founded by an exhaustive search approach. However, its drawback is the number of program runs. In this paper, we proposed an iterative compilation algorithm, named Improved Batch Elimination. This algorithm is based on the first step towards Combined Elimination, the Batch Elimination algorithm. The goal of Improved Batch Elimination is to produce results similar to Combined Elimination, with a complexity similar to Batch Elimination. In other words, the goal is to produce good results and to be faster than Combined Elimination. We evaluate our algorithm by measuring the performance of Spec Cpu2006, Polybench and cBench benchmarks under a set of LLVM compiler optimizations. The results indicate that Improved Batch Elimination is a good strategy to remove harmful compiler optimizations, using few program runs.
Publisher :
ieee
Conference_Titel :
Computing Conference (CLEI), 2015 Latin American
Type :
conf
DOI :
10.1109/CLEI.2015.7360010
Filename :
7360010
Link To Document :
بازگشت