You copied the Doc URL to your clipboard.

Default selection of hardware or software floating-point support

The default target FPU architecture is derived from use of the --cpu option.

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 --fpu vfpv2.

If you are building ARM Linux applications using --arm_linux or --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 --fpu=softvfp+vfp, not --fpu=vfp.

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.

Was this page helpful? Yes No