/arch
(ARM)
In this article
Specifies the architecture for code generation on ARM. For more information on /arch
for other target architectures, see /arch
(ARM64), /arch
(x64), and /arch
(x86)
/arch:
[ARMv7VE
|VFPv4
]
/arch:ARMv7VE
Enables the use of ARMv7VE Virtualization Extensions instructions.
/arch:VFPv4
Enables the use of ARM VFPv4 instructions. If this option isn't specified, VFPv3 is the default.
The _M_ARM_FP
macro (for ARM only) indicates which, if any, /arch
compiler option was used. For more information, see Predefined macros.
When you use /clr
to compile, /arch
has no effect on code generation for managed functions. /arch
only affects code generation for native functions.
Open the Property Pages dialog box for the project. For more information, see Set C++ compiler and build properties in Visual Studio.
Select the Configuration Properties > C/C++ > Command Line property page.
In the Additional options box, add
/arch:ARMv7VE
or/arch:VFPv4
.
/arch
(Minimum CPU architecture)
MSVC compiler options
MSVC compiler command-line syntax