|
This article is cited in 3 scientific papers (total in 3 papers)
Aggressive inlining for VLIW
A. Ermolitckii, M. Neiman-Zade, O. Chetverina, A. Markin, V. Volkonskii MCST
Abstract:
Inline expansion is very important for high performance VLIW, especially for microprocessors with static scheduling. Optimizations in optimizing compilers for VLIW duplicate code aggressively and lead to long compile time. Our inlining algorithm is based on heuristics that takes into account compile time explicitly. This made optimization more balanced and significantly reduced code growth and compile time compared to common inlining approach based on minimization of runtime within constraints. Instead of using hard constraints we are trading run time for compilation time in some proportion. Our heuristics predicts several key optimizations in evaluation of runtime and compile time: code scheduling, global copy propagation, dead code elimination and different loop optimizations. Optimizations prediction reduces the need in profile information which is rarely available in practice. Our implementation of inlining includes cloning, partial inlining and inlining across compilation modules in whole program mode. All this factors make dramatic impact on performance: our inlining implementation in the Elbrus optimizing compiler boost SPEC CPU2006 benchmark performance by factor of 1.41 at the cost of 12% increase of compile time and 7.7% increase of code size on average.
Keywords:
optimization, optimizing compiler, inline expansion, VLIW.
Citation:
A. Ermolitckii, M. Neiman-Zade, O. Chetverina, A. Markin, V. Volkonskii, “Aggressive inlining for VLIW”, Proceedings of ISP RAS, 27:6 (2015), 189–198
Linking options:
https://www.mathnet.ru/eng/tisp193 https://www.mathnet.ru/eng/tisp/v27/i6/p189
|
Statistics & downloads: |
Abstract page: | 171 | Full-text PDF : | 91 | References: | 32 |
|