Vectorization Essentials, Vectorization and Optimization Reports
Overview
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.
Topics
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.
NEXT STEPS
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.