Skip to content

Latest commit

 

History

History
71 lines (57 loc) · 2.21 KB

arch-arm.md

File metadata and controls

71 lines (57 loc) · 2.21 KB
title -arch (ARM) | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-tools
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
ms.assetid 4f1406ff-f174-487c-a126-8ab06cf447c1
caps.latest.revision 5
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

/arch (ARM)

Specifies the architecture for code generation on ARM. See also /arch (x86) and /arch (x64).

Syntax

/arch:[ARMv7VE|VFPv4]  

Arguments

/arch:ARMv7VE
Enables the use of ARMv7VE Virtualization Extensions instructions.

/arch:VFPv4
Enables the use of ARM VFPv4 instructions. If this option is not specified, VFPv3 is the default.

Remarks

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.

To set the /arch:ARMv7VE or /arch:VFPv4 compiler option in Visual Studio

  1. Open the Property Pages dialog box for the project. For more information, see Working with Project Properties.

  2. Select the C/C++ folder.

  3. Select the Command Line property page.

  4. In the Additional options box, add /arch:ARMv7VE or /arch:VFPv4.

To set this compiler option programmatically

  • See xref:Microsoft.VisualStudio.VCProjectEngine.VCCLCompilerTool.EnableEnhancedInstructionSet%2A.

See Also

/arch (Minimum CPU Architecture)
Compiler Options
Setting Compiler Options