About floating-point support
The ARM® floating-point environment is an implementation of the IEEE 754-1985 standard for binary floating-point arithmetic.
NoteIn ARMv8, floating-point hardware is integral to the architecture. Software floating-point is supported for AArch32 state, but is not supported for AArch64 state.
An ARM system might have:
- A VFP coprocessor.
- No floating-point hardware.
If you compile for a system with a hardware VFP coprocessor, the ARM compiler makes use of
it. If you compile for a system without a coprocessor, the compiler implements the
computations in software. For example, the compiler option
-mfloat-abi=hard selects a hardware VFP coprocessor and the option
-mfloat-abi=soft specifies that arithmetic operations are
to be performed in software, without the use of any coprocessor instructions.