1.17 Floating-point build options in ARMv7 and later

In ARMv7 and later, you can choose the floating-point build options independently of whether the code you are building is ARM only, Thumb only, or mixed, because floating point instructions are available in both the ARM and Thumb instruction sets.

To select hardware floating-point arithmetic with hardware linkage, use an option such as --fpu vfpv3 --apcs=/hardfp or --fpu vfpv4 --apcs=/hardfp.

To select hardware floating-point arithmetic with software linkage, use an option such as --fpu vfpv3 --apcs=/softfp or --fpu vfpv4 --apcs=/softfp.

Note:

When specifying floating-point build options for M profile processors, the argument names start with FP instead of VFP, for example --fpu=FPv4-SP.

For more information, see the Technical Reference Manual for your processor.

Non-ConfidentialPDF file icon PDF versionARM DUI0471M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.