‑‑fpu
Syntax
‑‑fpu={name|list|none}Parameters
| The target FPU architecture. |
| Lists all supported values for the |
| No FPU. |
Description
Use this option to generate code that performs floating-point operations using a Floating Point Unit (FPU). By selecting an FPU, you will override the use of the software floating-point library for all supported floating-point operations.
The name of a target FPU is constructed in one of these ways:
none: No FPU (default)fp-architecture: Base variant of the specified architecturefp-architecture-SP: Single-precision variantfp-architecture_D16: Variant with 16Dregistersfp_architecture_Fp16: Variant with half-precision extensions
The available combinations include:
{VFPv2|VFPv3|VFPv4|VFPv5}{VFPv3|VFPv4|VFPv5}_D16{VFPv4|VFPv5}-SPVFPv3_Fp16VFPv3_D16_Fp16
Note
In 64-bit mode, and when a 64-bit device is used in 32-bit mode, this option has no effect.
See also
VFP and floating-point arithmetic.
Caution
Project>Options>General Options>32-bit>Floating-point settings