3.15 __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 versionDUI0774J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.