4.9.3. Vector Floating-Point support in GCC

VFP is fully supported by GCC. However, you can configure some builds to default to assume no VFP support by default, in which case floating-point calculations use library code.

To enable VFP support, use the following option:

To specify support for a specific VFP implementation on an ARM Cortex-A series processor, use the following options:

You can use these options for code that only runs on these VFP implementations, and does not require backward compatibility with older VFP implementations.

To specify which ABI to use to enable VFP, use the following options:

Note

There can be a significant function call overhead when using -mfloat-abi=softfp, if many floating-point values are being passed.

Copyright © 2014 ARM. All rights reserved.ARM DAI0425
Non-ConfidentialID080414