There are some notable differences between the Intel® C++ Compiler and the Microsoft* compiler. Consider the following as you begin compiling your code with the Intel® C++ Compiler.
Setting the Environment
The compiler installation provides a batch file,
, that sets the proper environment for the Intel® C++ Compiler. For information on running
The Intel® C++ Compiler is an optimizing compiler that begins with the assumption that you want improved performance from your application when it is executed on Intel® architecture. Consequently, certain optimizations, such as option
O2, are part of the default invocation of the Intel® C++ Compiler. By default, Microsoft* turns off optimization, which is the equivalent of compiling with options
O0. Other forms of the
n] option compare as follows:
Intel® C++ Compiler
Turns off all optimization. Same as
Default. Turns off all optimization.
Decreases code size with some increase in speed.
Optimizes code for minimum size.