|Non-Confidential||PDF version||ARM DUI0472J|
|Home > Compiler Coding Practices > Default selection of hardware or software floating-point support|
The default target FPU architecture is derived from use of the
If the processor specified 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
If you are building ARM Linux applications using
--arm_linux_paths, the default is always software floating-point linkage.
Even if you specify a processor that implies an FPU (for example,
--cpu=ARM1136JF-S), the compiler still defaults to
If a VFP coprocessor is present, VFP instructions are generated. If there is no VFP coprocessor, the compiler generates code that makes calls to the software floating-point library fplib to carry out floating-point operations. fplib is available as part of the standard distribution of the ARM compilation tools suite of C libraries.