Institutional Repository of Vilnius University
Moderniosios C++ optimizavimo strategijų palyginamasis empirinis tyrimas MSVC, GCC ir Clang kompiliatoriuose /
Abstract
dc:descriptionThis work investigates the optimisation effectiveness of three modern C++ compilers GCC, MSVC, and Clang in a Windows environment. The goal is to empirically compare their automatic optimisation capabilities across four optimisation techniques: vectorization, function inlining, loop unrolling, and branch prediction hints. The study was conducted using purpose built performance benchmarks and the Google Benchmark library, with results supported by generated assembly code analysis. The results show that each compiler exhibits a distinct optimisation profile: MSVC consistently generated dual code paths with runtime alias checks, Clang applied the most aggressive loop unrolling, and GCC produced the simplest code structures while achieving the best result in the function inlining test. Function inlining had the greatest impact on performance, while branch prediction hints proved to have a limited and compiler-specific effect.
Degree
thesis:*- Grantor dc:publisher
- Institutional Repository of Vilnius University
- Year dc:date
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Bukelis, Aleksandras,
Rights
dc:rights- Statement dc:rights
-
- info:eu-repo/semantics/openAccess
- Language dc:language
- lit
Identifiers
dc:identifier.*- Repository record dc:identifier
- https://repository.vu.lt/VU:ELABAETD308336350&prefLang=en_US