Automatic Selection of Compiler Optimizations by Machine Learning

Melih Peker, Özcan Öztürk, Süleyman Yıldırım, Mahiye Uluyağmur Öztürk · 2023

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.

Read the paper · More papers on PaperTik