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

This function attribute specifies the calling convention on targets with hardware floating-point, as an alternative to the __softfp keyword.

Note

This function attribute is a GNU compiler extension that the ARM compiler supports.

Syntax

__attribute__((pcs("calling_convention")))

Where calling_convention is one of the following:

aapcs

uses integer registers, as for __softfp.

aapcs-vfp

uses floating-point registers.

Related concepts
5.49 Compiler support for floating-point computations and linkage
Related reference
10.15 __softfp
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.