1. Loop optimizations in C and C++ compilers: an overview.
- Author
-
Kovács, Réka and Porkoláb, Zoltán
- Subjects
- *
C++ , *SCIENTIFIC literature , *COMPUTERS , *COMPILERS (Computer programs) - Abstract
The evolution of computer hardware in the past decades has truly been remarkable. From scalar instruction execution through superscalar and vector to parallel, processors are able to reach astonishing speeds - if programmed accordingly. Now, writing programs that take all the hardware details into consideration for the sake of efficiency is extremely difficult and error-prone. Therefore we increasingly rely on compilers to do the heavy-lifting for us. A significant part of optimizations done by compilers are loop optimizations. Loops are inherently expensive parts of a program in terms of run time, and it is important that they exploit superscalar and vector instructions. In this paper, we give an overview of the scientific literature on loop optimization technology, and summarize the status of current implementations in the most widely used C and C++ compilers in the industry. [ABSTRACT FROM AUTHOR]
- Published
- 2020
- Full Text
- View/download PDF