Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__arm_cdp, __arm_cdp2

In this section:
Syntax
void __arm_cdp(__cpid coproc, __cpopcw opc1, __cpreg CRd, __cpreg CRn,
               __cpreg CRm, __cpopc opc2);
void __arm_cdp2(__cpid , __cpopw coprocopc1, __cpreg CRd, __cpreg CRn,
                __cpreg CRm, __cpopc opc2);
Parameters

coproc

The coprocessor number 0..15.

opc1, opc2

Coprocessor-specific operation codes.

CRd, CRn, CRm

Coprocessor registers.

Description

Inserts the coprocessor-specific data operation instruction CDP or CDP2. The parameters will be encoded in the instruction and must therefore be constants.

These intrinsic functions are defined according to the Arm C Language Extensions (ACLE).

Note

These intrinsic functions cannot be used in 64-bit mode.

See also

__CDP, __CDP2.

Note

To use intrinsic functions in an application, you must include the header file(s) where they are declared, see Summary of intrinsic functions.