Title :
Automatic selection of GCC optimization options using a gene weighted genetic algorithm
Author :
San-Chih Lin ; Chang, Chi-Kuang ; Lin, San-Chih
Author_Institution :
Nat. Chung Cheng Univ., Chiayi
Abstract :
Compilers usually provide a large number of optimization options for users to fine tune the performance of their programs. However, most users donpsilat have the capability to select suitable optimization options. Compilers hence usually provide a number of optimization levels. Each optimization level is a pre-selected group of optimization options and produces good efficiency for most programs. However, they exploit only a portion of the available optimization options. There is still a large potential that an even better efficiency can be gained for each specific source code by exploiting the rest of the available optimization options. We propose a gene weighted genetic algorithm to search for optimization options better than optimization levels for each specific source code. We also show that this new genetic algorithm is more effective than the basic genetic algorithm for a set of benchmarks.
Keywords :
genetic algorithms; program compilers; GCC optimization; automatic selection; gene weighted genetic algorithm; optimization level; optimization options; program compilers; Feedback; Genetic algorithms; Optimizing compilers; Program processors;
Conference_Titel :
Computer Systems Architecture Conference, 2008. ACSAC 2008. 13th Asia-Pacific
Conference_Location :
Hsinchu
Print_ISBN :
978-1-4244-2682-9
Electronic_ISBN :
978-1-4244-2683-6
DOI :
10.1109/APCSAC.2008.4625477