3-1
Optimizing C/C++ Code
You can maximize C/C++ performance by using compiler options, intrinsics,
and code transformations. This chapter discusses the following topics:
-
The compiler and its options
-
Intrinsics
-
Software pipelining
-
Loop unrolling
Topic
Page
3.1
Writing C/C++ Code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2
Compiling C/C++ Code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3
Profiling Your Code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4
Refining C/C++ Code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 3