Vectorization and Optimization Reports

By Ronald W Green, Published: 09/06/2012, Last Updated: 03/25/2019

Vectorization Essentials, Vectorization and Optimization Reports


This chapter describes how to run and interpret Intel® C++ Compiler and Intel® Fortran Compiler 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 and Optimization Reports

Getting the Most Out of the Intel Compiler with New Optimization Reports (PDF | Video). The reports first appeared with the 15.0 compilers and are continually refined. This presentation covers the basics that are available in the latest compiler releases.

Getting the Most Out of Your Intel Compiler with Optimization Reports

C++ Documentation for Optimization Reports: -qopt-report switch

Fortran Documentation for Optimization Reports: -qopt-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 architecture. The paths provided in this guide reflect the steps necessary to get best possible application performance.

Back to Vectorization Essentials.

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804