Vectorization and Optimization Reports

Compiler Methodology for Intel® MIC Architecture

Compiler Methodology for Intel® MIC Architecture

Vectorization Essentials, Vectorization and Optimization Reports


This chapter describes how to run and interpret Intel® C/C++ and Fortran compilers vectorization and optimization reports. These reports can pinpoint areas where the compiler is not adding vectorization or able to introduce optimizations. It may be possible to modify your code or communicate additional information to the compiler to vectorization or optimizations to be applied to the generated code for your application.


Vectorization Reports

Documentation - Vectorization Reports - -vec-report switch

Overview of vectorization reports and new level vec-report6

How to correlate vec-report line-numbers with source line numbers

Vectorization Diagnostics - remarks that describe vectorizer behavior

Optimization Reports

Documentation - Optimization Reports - -opt-report switch

Take Aways

You should now know how to run vectorization and optimization reports to determine areas where vectorization could be enabled or optimization improved by the compiler with changes to your source code.


It is essential that you read this guide from start to finish using the built-in hyperlinks to guide you along a path to a successful port and tuning of your application(s) on Intel® Xeon Phi™ architecture. The paths provided in this guide reflect the steps necessary to get best possible application performance.

Back to Vectorization Essentials.

Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.