Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑aapcs

In this section:
Syntax

--aapcs={std|vfp}

Parameters

std

Processor registers are used for floating-point parameters and return values in function calls according to standard AAPCS. std is the default when the software FPU is selected.

vfp

VFP registers are used for floating-point parameters and return values. The generated code is not compatible with AEABI code. vfp is the default when a VFP unit is used.

Description

Use this option to specify the floating-point calling convention. In 64-bit mode, this option has no effect.

Caution

To set this option, use Project>Options>C/C++ Compiler>Extra Options.