Maximizes speed across the entire program.
IA-32, Intel® 64, IA-64 architectures
Linux and Mac OS X: | -fast |
Windows: | /fast |
None
OFF |
The optimizations that maximize speed are not enabled. |
This option maximizes speed across the entire program.
It sets the following options:
On systems using IA-64 architecture:
Windows: /O3 and /Qipo
Linux: -ipo, -O3, and -static
On systems using IA-32 architecture and Intel® 64 architecture:
Mac OS X: -ipo, -mdynamic-no-pic, -O3, -no-prec-div, -static, and -xHost
Windows: /O3, /Qipo, /Qprec-div-, and /QxHost
Linux: -ipo, -O3, -no-prec-div, -static, and -xHost
When option fast is specified on systems using IA-32 architecture or Intel® 64 architecture, you can override the -xHost or /QxHost setting by specifying a different processor-specific -x or /Qx option on the command line. However, the last option specified on the command line takes precedence.
For example, if you specify -fast -xSSE3 (Linux) or /fast /QxSSE3 (Windows), option -xSSE3 or /QxSSE3 takes effect. However, if you specify -xSSE3 -fast (Linux) or /QxSSE3 /fast (Windows), option -xHost or /QxHost takes effect.
The options set by option fast may change from release to release.
None