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
关键词
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
相关论文
共 50 条
  • [21] Phase Directed Compiler Optimizations
    Jain, Era
    Roy, Subhajit
    PROCEEDINGS OF 2016 IEEE 23RD INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING (HIPC), 2016, : 270 - 279
  • [22] Incremental Verification of Compiler Optimizations
    Fedyukovich, Grigory
    Gurfinkel, Arie
    Sharygina, Natasha
    NASA FORMAL METHODS, NFM 2014, 2014, 8430 : 300 - 306
  • [23] GRAPHICAL VISUALIZATION OF COMPILER OPTIMIZATIONS
    BOYD, MR
    WHALLEY, DB
    JOURNAL OF PROGRAMMING LANGUAGES, 1995, 3 (02): : 69 - 94
  • [24] Detection of Optimizations Missed by the Compiler
    Zhang, Yi
    PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 2192 - 2194
  • [25] ADVANCED COMPILER OPTIMIZATIONS FOR SUPERCOMPUTERS
    PADUA, DA
    WOLFE, MJ
    COMMUNICATIONS OF THE ACM, 1986, 29 (12) : 1184 - 1201
  • [26] Understanding the behavior of compiler optimizations
    Lee, Han
    von Dincklage, Daniel
    Diwan, Amer
    Moss, J. Eliot B.
    SOFTWARE-PRACTICE & EXPERIENCE, 2006, 36 (08): : 835 - 844
  • [27] Compiler Optimizations for Parallel Programs
    Doerfert, Johannes
    Finkel, Hal
    LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING (LCPC 2018), 2019, 11882 : 112 - 119
  • [28] Fast selection of compiler optimizations using performance prediction with graph neural networks
    do Rosario, Vanderson Martins
    da Silva, Anderson Faustino
    Zanella, Andre Felipe
    Napoli, Otavio O.
    Borin, Edson
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2023, 35 (17):
  • [29] Compiler 2.0: Using Machine Learning to Modernize Compiler Technology
    Amarasinghe, Saman
    21ST ACM SIGPLAN/SIGBED CONFERENCE ON LANGUAGES, COMPILERS, AND TOOLS FOR EMBEDDED SYSTEMS (LCTES '20), 2020, : 1 - 2
  • [30] Towards Compile-Time-Reducing Compiler Optimization Selection via Machine Learning
    Jayatilaka, Tarindu
    Ueno, Hideto
    Georgakoudis, Giorgis
    Park, EunJung
    Doerfert, Johannes
    50TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING WORKSHOP PROCEEDINGS - ICPP WORKSHOPS '21, 2021,