Description
Code quality is essential for getting high performance: for various reasons (poor performance models, lack of adequate transformations, limited analysis capabilities …) 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 first demonstrate MAQAO capabilities to assess code quality and detail strategies to make comparative studies between different compilers and compiler settings. Then we will show how these comparative studies can be used to “transfer” optimizations between compilers. These MAQAO capabilities will be illustrated through real code examples.