3.13 __attribute__((pcs("calling_convention"))) function attribute

This function attribute specifies the calling convention on targets with hardware floating-point.

Syntax

__attribute__((pcs("calling_convention")))
Where calling_convention is one of the following:
aapcs
uses integer registers.
aapcs-vfp
uses floating-point registers.

Example

double foo (float) __attribute__((pcs("aapcs")));
Non-ConfidentialPDF file icon PDF versionARM DUI0774E
Copyright © 2014-2016 ARM. All rights reserved.