04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler-specific Features<br />

Table 4-24 Predefined macros (continued)<br />

Name Value When defined<br />

__TARGET_FEATURE_MULTIPROCESSING – When you specify any of the following options:<br />

• --cpu=Cortex-A9<br />

• --cpu=Cortex-A9.no_neon<br />

• --cpu=Cortex-A9.no_neon.no_vfp<br />

__TARGET_FEATURE_THUMB – If the target architecture supports Thumb, <strong>ARM</strong>v4T or later.<br />

__TARGET_FPU_xx – One of the following is set to indicate the FPU usage:<br />

• __TARGET_FPU_NONE<br />

• __TARGET_FPU_VFP<br />

• __TARGET_FPU_SOFTVFP<br />

In addition, if compiling with one of the following --fpu options, the<br />

corresponding target name is set:<br />

• --fpu=softvfp+vfpv2, __TARGET_FPU_SOFTVFP_VFPV2<br />

• --fpu=softvfp+vfpv3, __TARGET_FPU_SOFTVFP_VFPV3<br />

• --fpu=softvfp+vfpv3_fp16, __TARGET_FPU_SOFTVFP_VFPV3_FP16<br />

• --fpu=softvfp+vfpv3_d16, __TARGET_FPU_SOFTVFP_VFPV3_D16<br />

• --fpu=softvfp+vfpv3_d16_fp16,<br />

__TARGET_FPU_SOFTVFP_VFPV3_D16_FP16<br />

• --fpu=vfpv2, __TARGET_FPU_VFPV2<br />

• --fpu=vfpv3, __TARGET_FPU_VFPV3<br />

• --fpu=vfpv3_fp16, __TARGET_FPU_VFPV3_FP16<br />

• --fpu=vfpv3_d16, __TARGET_FPU_VFPV3_D16<br />

• --fpu=vfpv3_d16_fp16, __TARGET_FPU_VFPV3_D16_FP16<br />

See --fpu=name on page 2-62 for more information.<br />

__TARGET_PROFILE_A<br />

__TARGET_PROFILE_R<br />

__TARGET_PROFILE_M<br />

When you specify the --cpu=7-A option.<br />

When you specify the --cpu=7-R option.<br />

When you specify any of the following options:<br />

• --cpu=6-M<br />

• --cpu=6S-M<br />

• --cpu=7-M<br />

4-202 Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. <strong>ARM</strong> DUI 0348C<br />

Non-Confidential,<br />

ID101213

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!