REAL

Loop Optimizations in C and C++ Compilers: An Overview

Kovács, Réka and Porkoláb, Zoltán (2020) Loop Optimizations in C and C++ Compilers: An Overview. Annales Mathematicae et Informaticae, 51. pp. 113-121. ISSN 1787-6117

[img]
Preview
Text
113_121_Kovács.pdf - Published Version

Download (612kB) | Preview

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 optimiza- tions. 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.

Item Type: Article
Uncontrolled Keywords: loops, optimization, compilers, C, C++
Subjects: Q Science / természettudomány > QA Mathematics / matematika > QA76 Computer software / programozás
Depositing User: Tibor Gál
Date Deposited: 03 Aug 2020 15:56
Last Modified: 03 Apr 2023 06:52
URI: http://real.mtak.hu/id/eprint/111849

Actions (login required)

Edit Item Edit Item