Sample code for understanding the effect of compiler options

This is a computer translation of the original content. It is provided for general information only and should not be relied upon as complete or accurate.

Problem : I am new to Intel compilers and working with group for performance optimization of application.

I need to understand the effect of ICC flags in the performance of an application and their effects. To understand the effect of different flags on the performance I need some sample code which can demonstrate the effect of flag. Where I can find the sample codes for different flags of ICC?

Probably, use of any Compiler FLAGS depends more on the type of an application being executed and finding sample codes to understand the effect of FLAG can not be obtained collectively at one place. You may start with Intel C++ Compiler (ICC) v-11.0 documents like -