The compiler samples included with Intel® C++ Composer are designed to illustrate specific compiler optimizations, features, tools, and programming concepts.
Many of the samples are small, single source files intended to illustrate the associated concept in a general way. The sample sources contain the command line options and, where applicable, environment settings needed for compilation on Linux*, Mac OS* X, and Windows*.
Some of these samples are meant to illustrate features during compilation only and do not result in executables.
Compiler Feature |
Location |
Description |
---|---|---|
Automatic optimizations | optimize/ | Illustrates how to use the automatic compiler options to quickly change the performance of an application. |
Profile-guide Optimization (PGO) | pgo_samples/ | Illustrates profiling an application, generating PGO compiler reports, and using the code-coverage and test-prioritization tools. |
Interprocedural Optimization (IPO) | ipo_samples/ | Illustrates using multi-file IPO compilation and generating IPO compiler reports. |
OpenMP* support | openmp_samples/ | Illustrates using OpenMP* pragmas to create multi-threaded applications. |
Intriniscs | intrinsic_samples/ | Illustrates using several instruction intrinsics supported in the compiler. |
Intel® Cilk™ Plus | cilk_samples/ | Illustrates parallel processing techniques using Intel® Cilk™ Plus. |
Vectorization | vec_samples/ | Files for use with the Intel® C++ Composer XE 2011 Getting Started Tutorials -> Tutorial: Using Intel(R) C++ Compiler -> Using Auto-vectorization |
Parallelization | tachyon.tar.gz | Files for use with the tutorial article: Using Intel(R) C++ Composer XE 2011 for Linux to Thread Your Applications at |
Guided Auto Parallel | guided_auto_parallel.tar.gz | Files for use with the Intel® C++ Composer XE 2011 Getting Started Tutorials -> Tutorial: Using Intel(R) C++ Compiler -> Using Guided Auto-parallelization. |
Optimization Notice |
---|
Intel® Compiler includes compiler options that optimize for instruction sets that are available in both Intel® and non-Intel microprocessors (for example SIMD instruction sets), but do not optimize equally for non-Intel microprocessors. In addition, certain compiler options for Intel® Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instruction sets they implicate, please refer to "Intel® Compiler User and Reference Guides > Compiler Options". Many library routines that are part of Intel® Compiler are more highly optimized for Intel microprocessors than for other microprocessors. While the compilers and libraries in Intel® Compiler offer optimizations for both Intel and Intel-compatible microprocessors, depending on the options you select, your code and other factors, you likely will get extra performance on Intel microprocessors. While the paragraph above describes the basic optimization approach for Intel® Compiler, with respect to Intel's compilers and associated libraries as a whole, Intel® Compiler 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 Intel® Streaming SIMD Extensions 2 (Intel® SSE2), Intel® Streaming SIMD Extensions 3 (Intel® SSE3), and Supplemental Streaming SIMD Extensions 3 (Intel® 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. Intel recommends that you evaluate other compilers to determine which best meet your requirements. |
Copyright © 2010 Intel Corporation. All Rights Reserved
* Other names and brands may be claimed as the property of others