Visual c ++ uses Intel C ++ compiler to Improve multi-core performance and multimedia instruction support for higher program efficiency and reduced program size

Source: Internet
Author: User

The intel C ++ compiler has the following advantages. We recommend that you use the Intel C ++ compiler in VC ++ project development to replace the C ++ compiler that comes with:

 

Compatible with Microsoft Visual C ++ and can be embedded into the Microsoft Visual Studio development environment.

Supports the latest multi-core processors and provides security functions. By performing the error check during stack overflow running, the buffer overflow security vulnerability is more vulnerable to attacks.

Multi-threaded applicationsProgramSupports open MP and automatic parallelization.

Complies with ansi c/C ++ and iso c/C ++ standards.

Including intel debugger andCodeIt covers tools and supports code optimization and multi-threaded application debugging to reduce code defects and improve development efficiency.

Supports the latest multi-core processors. The optimization feature that supports the latest processors can greatly improve the program performance on these processors.
Supports stack check during runtime to reduce security defects caused by buffer benefits.
Includes IA-32, itanium (anteng) 2 and support for 64-Bit Memory extension technology development tools.
Enhance intel debugger support for Optimized Code

 

Intel C ++ compilers are integrated into Microsoft Visual Studio * 2005 and 2008. Use the Intel C ++ compiler, Microsoft Visual C ++ * compiler, or both!
· Multi-threaded applications support new features in 11.0, OpenMP 3.0 (parallel data and current task), and automatic parallelism to support simple and effective software threads.
· Automatic vectoring can implement code parallelism, so as to utilize the SIMD stream instruction extension (SSE) instruction set architecture (SSE, sse2, sse3, ssse3, and sse4) in our latest processor ).
· The High-Performance Parallel optimizer (HPO) will adjust and optimize the cycle, and ensure that automatic vectorization, OpenMP, or automatic parallelism can take full advantage of high-speed cache and memory access, and the SIMD Instruction Set and multiple kernels. Compiling in a single channel can shorten the Compilation Time and generate more reliable code.
· Inter-process optimization (IPO) can dynamically improve small and medium function programs, especially those containing calls in a loop. IPO analysis can provide feedback on defects and encoding errors (such as uninitialized variables or OpenMP API problems). other compilers cannot detect such errors.
· PGO improves application performance by reducing the cache-thrashing, reorganizing the code layout, reducing the code length, and reducing branch prediction errors.
· The intel thread building module is an award-winning C ++ template library that can draw threads from tasks to create reliable, portable, and scalable parallel applications. Intel TBB is the most effective way to implement parallel applications and release multi-core platform performance.
· Intel's core mathematical function library includes optimized and scalable mathematical programs that support the best performance, while seamlessly providing forward expansion from current to future multi-core platforms.
· Intel's integrated performance primitive is a broad multi-core ready function library that is highly optimized for multimedia data processing and communication applications.

 

Let's take a look at how to use the Intel C ++ compiler.

Install the SDK first and follow the following steps,

 

1. Installation initialization Interface

 

 

2. Go to the installation process

 

3. License Agreement

 

4. Install the license agreement

 

5. Select trial

 

 

6. Select full installation

 

 

8. Install

9. Install

 

10. Installation Complete

 

11. compiler attribute settings

 

 

12. Path settings before and after the Compiler

13. The project uses the Intel C ++ compiler for optimized compilation.

 

14. Confirm

 

15. The intel C ++ compiler is optimized and Output

I have developed 8 VC projects in, 7 of which use the Intel C ++ compiler to greatly improve program performance,

In particular, multimedia performance, computing performance, and multi-core performance must be significantly stronger than the built-in C ++ compiler of Visual Studio.

Under the same conditions, the intel C ++ compiler is almost infinitely close to the execution efficiency of the assembly language. Under the same conditions, the speed is faster and the smaller the size is.

I have used the Intel C ++ compiler to improve the performance of all seven projects. We recommend that you use the Intel C ++ compiler. Except for an embedded project,

However, on the embedded platform, the intel C ++ compiler is not recommended for Windows Mobile's MFC based on WinCE. Because the underlying chip is based on ARM, the intel C ++ compiler cannot be used, instead, it is inferior to vs's built-in compiler.

I am yincheng01@163.com MSN. qq For 77025077, welcome to technical exchanges. If a friend's C/C ++ project architecture needs to improve performance, program volume, and execution efficiency, I hope to provide you with the software architecture consulting service.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.