ACM Home Page
Please provide us with feedback. Feedback
Generating new general compiler optimization settings
Full text PdfPdf (697 KB)
Source International Conference on Supercomputing archive
Proceedings of the 19th annual international conference on Supercomputing table of contents
Cambridge, Massachusetts
SESSION: Session 5: compilers II table of contents
Pages: 161 - 168  
Year of Publication: 2005
ISBN:1-59593-167-8
Authors
M. Haneda  Leiden University, The Netherlands
P. M. W. Knijnenburg  Leiden University, The Netherlands
H. A. G. Wijshoff  Leiden University, The Netherlands
Sponsor
SIGARCH: ACM Special Interest Group on Computer Architecture
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 10,   Downloads (12 Months): 54,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1088149.1088171
What is a DOI?

ABSTRACT

Finding nearly optimal optimization settings for modern compilers which can utilize a large number of optimizations is a combinatorially exponential problem. In this paper, we investigate whether in the presence of many optimization choices random generation of compiler settings can be used to obtain well performing compiler settings. We apply this random generation of compiler setting to gcc 3.3.1 which implements 54 optimizations. Our results show that this technique can be used to obtain a setting which exceeds the performance of the default optimization settings O1, O2, and O3 for each program in the SPECint95 benchmark suite. We also apply this technique to obtain a general setting which is suitable for many programs. This setting performs equally well as the default settings using significantly less options. Finally, we compare our setting with the default settings of gcc and analyze the difference.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
G. E. P. Box, W. G. Hunter, and J. S. Hunter. Statistics for Eperimenters. An Introduction to Design, Data Analysis, and Model Building. Wiley and Sons, 1978.
 
3
K. Chow and Y. Wu. Feedback-directed selection and characterization of compiler optimizations. In Proc. 2nd Workshop on Feedback Directed Optimization, 1999.
4
 
5
E. Granston and A. Holler. Automatic recommendation of compiler options. In Proc. 4th Workshop on Feedback-Directed and Dynamic Optimization, 2001.
 
6
 
7
 
8
 
9
A. Nisbet. GAPS: Genetic algorithm optimised parallelization. In Proc. Workshop on Profile and Feedback Directed Compilation, 1998.
 
10
GNU Consortium. GCC online documentation. http://www.gcc.gnu.org/onlinedocs/.
 
11
12
 
13
 
14
 
15
16
17
18


Collaborative Colleagues:
M. Haneda: colleagues
P. M. W. Knijnenburg: colleagues
H. A. G. Wijshoff: colleagues