Reference manual:
Http://software.intel.com/sites/products/documentation/studio/composer/en-us/2011Update/compiler_c/index.htm
Note: this series of articles is personal notes. If any of them is incorrect, please refer to the relevant official documents. If any errors are found, I will try to update and modify them as much as possible. In addition, the following content does not guarantee that all versions of the compiler are correct, and the implementation of the compiler may also have some changes. For details, refer to the official documentation.
Note:
The following describes some basic knowledge to prevent misunderstanding.
(1) OS support
The intel compiler supports win, Lin, and Mac. In addition to the options of the Intel compiler, the intel compiler is also compatible with the options of Vs and the extended Syntax of vs. Likewise, compatible with GCC options and GNU extension syntax on Lin. This content will not be covered in this series of articles.
(2) Options
For most of the options, the intel compiler format on win is/qopt. The options corresponding to Lin are-OPT. The methods to disable an option are/qopt-and-opt -. Most of the articles in this series are analyzed based on win options to avoid repeated options.
(3) intel compilers and connectors
. In this series of articles, we use win as an example. If you are testing in Lin, you need to update it accordingly.
On Lin, the C compiler is ICC, the C ++ compiler is ICPC (but you can also use ICC to compile C ++ files), the linker is mongod, and the package is xiar, the names of other tools are similar. The gnu c compiler is GCC, the C ++ compiler is g ++, the linker is lD, and the package is ar.
(4) Section 0th ("basic ")
An optimization option usually contains many optimization technologies. Each optimization option may be "exclusive" based on some basic optimizations. In this way, different optimization options may also contain the same Optimization content. In order not to be repeated, put some of the most basic optimization-related terms and content into Part 1. For how many optimization-related content will be opened for an "advanced" optimization option, refer to the Manual introduction and introduction to "advanced" optimization options, you may not describe all the content contained in each option. The focus is only on the unique features of this option. Be sure to understand this.
(5) additional references:
Http://software.intel.com/zh-cn/articles/intel-composer-xe/ (recommended: resources-> product introduction)
PS: By the way, we recommend that you.
Http://www.intelsoftware.com.cn/intel-compiler-suite-windows.html (not the latest version, you can also refer)
Other: http://www.evget.com/zh-CN/product/910/feature.aspx
Updating ..................................... ........................................ ......................... :):):):)
0. Use intel Compiler (0) Basics
1.
Inline
2. Basic Block
3. Loop Optimization
1. Use intel Compiler (1) parallelization
Ii. Use intel Compiler (2) Vectoring
Iii. Use intel Compiler (3) Hlo
4. Use intel Compiler (4) IPO
5. Use intel Compiler (5) PGO