Intel C++ Compiler - Flags and Manuals

Flags and Manuals

Documentation can be found at the Intel Software Technical Documentation site.

Windows Linux & Mac OS X Comment
/Od -O0 No optimization
/O1 -O1 Optimize for size
/O2 -O2 Optimize for speed and enable some optimization
/O3 -O3 Enable all optimizations as O2, and intensive loop optimizations
/QxO -xO Enables SSE3, SSE2 and SSE instruction sets optimizations for non-Intel CPUs
/fast -fast Shorthand. On Windows this equates to "/O3 /Qipo /QxHost /no-prec-div" ; on Linux "-O3 -ipo -static -xHOST -no-prec-div". Note that the processor specific optimization flag (-xHOST) will optimize for the processor compiled on—it is the only flag of -fast, which may be overridden.
/Qprof-gen -prof_gen Compile the program and instrument it for a profile generating run.
/Qprof-use -prof_use May only be used after running a program that was previously compiled using prof_gen. Uses profile information during each step of the compilation process.

Read more about this topic:  Intel C++ Compiler

Famous quotes containing the words flags and, flags and/or manuals:

    Gentlemen, those confederate flags and our national standard are what has made this union great. In what other country could a man who fought against you be permitted to serve as judge over you, be permitted to run for reelection and bespeak your suffrage on Tuesday next at the poles.
    Laurence Stallings (1894–1968)

    Gentlemen, those confederate flags and our national standard are what has made this union great. In what other country could a man who fought against you be permitted to serve as judge over you, be permitted to run for reelection and bespeak your suffrage on Tuesday next at the poles.
    Laurence Stallings (1894–1968)

    In spite of the six thousand manuals on child raising in the bookstores, child raising is still a dark continent and no one really knows anything. You just need a lot of love and luck—and, of course, courage.
    Bill Cosby (20th century)