Assessing CPU Code Quality
Emmanuel Oseret, Cedric Valensi, William Jalby
Abstract
Code quality is essential for getting high performance: for various
reasons (poor performance models, lack of adequate transformations, …)
compilers are often producing suboptimal codes, which can significantly
hurt performance.
MAQAO is a performance analysis framework offering features designed for
assessing CPU (X86 and ARM) code quality, detecting potential compiler
“mistakes” and suggesting workarounds (inserting compiler flags,
rewriting loops, ...).
In our presentation, we will focus on some of these features and in
particular on how they can be used to compare compilers and import
optimizations between them. These MAQAO capabilities will be illustrated
through real code examples.