4.7.8. __cdp

This intrinsic inserts a CDP or CDP2 instruction into the instruction stream generated by the compiler. It enables you to include coprocessor data operations in your C or C++ code.

Syntax

__cdp(unsigned int coproc, unsigned int opcode1, unsigned int opcode2)

Where:

coproc

Identifies the coprocessor the instruction is for.

coproc must be an integer in the range 0 to 15.

opcode1

Is a coprocessor-specific opcode.

Add 0x100 to the opcode to generate a CDP2 instruction.

opcode2

Is a coprocessor-specific opcode.

Usage

The use of these instructions depends on the coprocessor. See your coprocessor documentation for more information.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential