/favor (Optimize for Architecture Specifics)
Visual Studio 2012
/favor: option produces the code that is optimized for a specific architecture or for the specifics of micro-architectures in the AMD and the Intel architectures.
/favor:{blend | ATOM | AMD64 | INTEL64}
Note
|
|---|
|
Intel64 architecture was previously known as Extended Memory 64 Technology, and the corresponding compiler option was /favor:EM64T. |
For information about how to program for the x64 architecture, see x64 Software Conventions.
To set this compiler option in the Visual Studio development environment
-
Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.
-
Select the C/C++ folder.
-
Select the Command Line property page.
-
Enter the compiler option in the Additional Options box.
To set this compiler option programmatically
-
See AdditionalOptions.
Note