__ARM_PROFILE_M__ __CORE__ __ARMVFP__ __LITTLE_ENDIAN__

__ARM_PROFILE_M__

Description

An integer that is set based on the --cpu option.

The symbol is set to 1 if the selected processor architecture is a profile M core.

The symbol is undefined for other cores.

 

__CORE__

Description

An integer that identifies the processor architecture in use.

The symbol reflects the --core option and is defined to

__ARM4TM__ ( 0x04 ),

__ARM5__ ( 0x05 ),
__ARM5E__ ( 0x0A ),

__ARM6__ ( 0x06 ),
__ARM6M__ ( 0x0B ),
__ARM6SM__ ( 0x0C ), 

__ARM7M__ ( 0x07 ),
__ARM7EM__ ( 0x0D ),

__ARM7A__ ( ),
__ARM7R__ ( ).

These symbolic names can be used when testing the __CORE__ symbol.


__ARMVFP__

Description

An integer that reflects the --fpu option and is defined to

__ARMVFPV1__ ( 1 ),
__ARMVFPV2__ ( 2 ),
__ARMVFPV3__ ( 3 ),
__ARMVFPV4__ ( 4 ).

These symbolic names can be used when testing the __ARMVFP__ symbol.

If VFP code generation is disabled (default), the symbol will be undefined.

 

__LITTLE_ENDIAN__

Description

An integer that reflects the --endian option and is defined to 1 when the byte order is little-endian.
The symbol is defined to 0 when the byte order is big-endian.

 

你可能感兴趣的:(profile)