2.6.2. TI C29x-Specific Pre-Defined Macro SymbolsΒΆ

The c29clang compiler pre-defined macro symbols to identify the target processor. The following table summarizes such pre-defined macros:

Symbol

Value Kind

Value / Description

__C29__

<constant>

Defined to 1 if target is a C29

__c29__

<constant>

Defined to 1 if target is a C29

__C29_ARCH

<version>

Identifies the C29 architecture version being

compiled for. Currently, the only value used is 0.

__C29_C0__

<constant>

Defined to 1 if the -mcpu=c29.c0 option is

defined either on the command line or by default.

__C29_OPT64__

<constant>

Defined to 1 if the -mfpu option is set to

f64 either on the command line or by default.