You copied the Doc URL to your clipboard.

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

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

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.

aapcs-vfp

uses floating-point registers.

Example

double foo (float) __attribute__((pcs("aapcs")));