8.7 --arm

Targets the ARM instruction set. The compiler is permitted to generate both ARM and Thumb code, but recognizes that ARM code is preferred.

Note

This option is not relevant for Thumb-only processors such as Cortex-M4, Cortex-M3, Cortex-M1, and Cortex-M0.

Default

This is the default option for targets supporting the ARM instruction set.

Related reference
8.38 --cpu=list
8.39 --cpu=name compiler option
8.12 --arm_only
8.177 --thumb
10.76 #pragma arm
Related information
ARM architectures supported by the toolchain
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.