Skip to main content

IAR Embedded Workbench for Arm 9.70.x

64-bit mode processor configuration

In this section:

To make the compiler generate optimum code, you should configure it for the Arm core you are using.

Processor variant

Select a 64-bit Armv8-A core that the IAR C/C++ Compiler for Arm supports. The object code that the compiler generates is not always binary compatible between the cores, therefore it is crucial to specify a processor option to the compiler.

Caution

Execution mode should be 64-bit. For information about setting the Processor variant option, see Target.

Danger

Use the ‑‑cpu option to specify the Arm core. For syntax information, see ‑‑cpu, and ‑‑aarch64.

Data model

Select a data model to use for the generated code, ILP32 or LP64.

Danger

Use the ‑‑abi option to specify the data model. For syntax information, see ‑‑abi.