Automatic Selection of Compiler Optimizations by Machine Learning

被引:0
作者
Peker, Melih [1 ]
Ozturk, Ozcan [1 ]
Yildirim, Suleyman [2 ]
Ozturk, Mahiye Uluyagmur [2 ]
机构
[1] Bilkent Univ, Bilgisayar Muhendisligi Bolumu, Bilkent, Turkiye
[2] Huawei Turkiye Ar Ge Merkezi, Istanbul, Turkiye
来源
2023 31ST SIGNAL PROCESSING AND COMMUNICATIONS APPLICATIONS CONFERENCE, SIU | 2023年
关键词
GCC; Compilers; Machine Learning; Optimization;
D O I
10.1109/SIU59756.2023.10223902
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Many widely used telecommunications applications have extremely long run times. Therefore, faster and more efficient execution of these codes on the same hardware is important in critical telecommunication applications such as base stations. Compilers greatly affect the properties of the executable program to be created. It is possible to change properties such as compilation speed, execution time, power consumption and code size using compiler flags. This study aims to find the set of flags that will provide the shortest run time among hundreds of compiler flag combinations in GCC using code flow analysis, loop analysis and machine learning methods without running the program.
引用
收藏
页数:4
相关论文
共 8 条
[1]  
[Anonymous], 2012, Polybench: The Polyhedral Benchmark Suite
[2]   COBAYN: Compiler Autotuning Framework Using Bayesian Networks [J].
Ashouri, Amir Hossein ;
Mariani, Giovanni ;
Palermo, Gianluca ;
Park, Eunjung ;
Cavazos, John ;
Silvano, Cristina .
ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2016, 13 (02)
[3]   Milepost GCC: Machine Learning Enabled Self-tuning Compiler [J].
Fursin, Grigori ;
Kashnikov, Yuriy ;
Memon, Abdul Wahid ;
Chamski, Zbigniew ;
Temam, Olivier ;
Namolaru, Mircea ;
Yom-Tov, Elad ;
Mendelson, Bilha ;
Zaks, Ayal ;
Courtois, Eric ;
Bodin, Francois ;
Barnard, Phil ;
Ashton, Elton ;
Bonilla, Edwin ;
Thomson, John ;
Williams, Christopher K. I. ;
O'Boyle, Michael .
INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2011, 39 (03) :296-327
[4]  
GCC, the GNU Compiler Collection
[5]  
MENDIS C, 2019, PR MACH LEARN RES, V97
[6]  
Muchnick Steven, 1997, Advanced Compiler Design and Implementation
[7]  
OpenTuner Jason Ansel, 2014, INT C PAR ARCH COMP
[8]  
Tagtekin B., 2021, 2021 INT C INNOVATIO, P1, DOI [10.1109/INISTA52262.2021.9548573, DOI 10.1109/INISTA52262.2021.9548573]