[ARMedslack] mfloat-abi

Stuart Winter m-lists at biscuit.org.uk
Fri Jan 28 11:39:34 UTC 2011


> - soft: only software emulation
> - softfp + mfpu=xxx: enables the compiler to use FP
> instructions/registers inside functions, but not as function
> parameters. This way, code remains compatible with 'soft' libraries
> - hard: it's a different ABI, where parameters can be passed in FP
> registers, avoiding expensive moves between core and FP registers. But
> such code is not compatible with 'soft' libraries.

You can also do

gcc -dumpspecs
to see what the compiler's defaults are.



More information about the ARMedslack mailing list