|Non-Confidential||PDF version||ARM DUI0474M|
|Home > Linker Command-line Options > --fpu=name|
Specifies the target FPU architecture.
is one of:
--fpuoption, or if you select a CPU that does not have an FPU.
To obtain a full list of FPU architectures use the
If you specify this option, it overrides any implicit
FPU option that appears on the command line, for example, where you use the
The linker also uses this option to optimize the choice of system libraries. The default is to select an FPU that is compatible with all of the component object files.
The linker fails if any of the component object files rely on features that are incompatible with the selected FPU architecture.
Any FPU explicitly selected using the
--fpu option always overrides any FPU implicitly selected using the
--cpu option. For example, the option
--cpu=ARM1136JF-S --fpu=SoftVFP generates code that
uses the software floating-point library fplib,
even though the choice of CPU implies the use of architecture VFPv2.
NEON support is disabled for
The default target FPU architecture is derived from use of the
If the processor you specify with
--cpu has a VFP coprocessor, the default target FPU
architecture is the VFP architecture for that processor. For example, the option
--cpu ARM1136JF-S implies the option
--fpu VFPv2. If a VFP
coprocessor is present, VFP instructions are generated.