|
ELEMENTS OF COMPUTING SYSTEMS
Methodology for developing a high-speed compiler based on the modified loop fusion optimization method: models and tools for its implementation
B. A. Logunov, I. A. Kharin Department of Strength Standards, Loads and Aeroelasticty,
Scientific Research Center for Aircraft Strength,
Federal Autonomous Institution “Central Aerohydrodynamic Institute
named after Professor N.E. Zhukovsky” (FAI “TSAGI”),
Zhukovsky, Moscow region, Russian Federation
Abstract:
Abstract. In connection with the development of information technologies, the complexity of programming languages and, accordingly, applications developed using them, program optimization is of particular importance. In the process of optimization, the program is improved by reducing the code size, complexity, using less memory and provides a reduction in execution time without changing the internal function. In practice, optimization is implemented using compilers and their functions. Taking into account the above, the aim of the article was to develop a methodology for studying various aspects of building a high-speed compiler with a modified loop fusion optimization method, as well as models and tools for its implementation. In the course of the research, the features of its design using the modified loop fusion optimization method are outlined, descriptions of the flowchart of the modified loop fusion algorithm and the logical flowchart of the compiler development stages are given. As a result of the work, a compiler based on the modified loop fusion optimization method is proposed, using loop reversal to ensure their “legitimate” and profitable merging, which reduces the execution time of the program while maintaining its correctness. The efficiency of the proposed compiler is shown by comparing the compilation times of the test program obtained using it and using the well-known compiler x86-64 gcc 4.7.1.
Keywords:
optimization, loop merging, reverse, loop, compiler, program code, speed.
Citation:
B. A. Logunov, I. A. Kharin, “Methodology for developing a high-speed compiler based on the modified loop fusion optimization method: models and tools for its implementation”, Comp. nanotechnol., 10:1 (2023), 103–111
Linking options:
https://www.mathnet.ru/eng/cn415 https://www.mathnet.ru/eng/cn/v10/i1/p103
|
Statistics & downloads: |
Abstract page: | 26 | Full-text PDF : | 10 |
|