Datasheet
ARM Compiler Reference
ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-33
__TARGET_FEATURE_HALFWORD
– If the target architecture supports halfword and signed
byte access instructions, for example v5TE.
__TARGET_FEATURE_MULTIPLY
– If the target architecture supports the long multiply
instructions
MULL
and
MULAL
.
__TARGET_FEATURE_THUMB
– If the target architecture is Thumb-capable (ARM
architecture v4T or later).
__TARGET_FPU_xx
– One of the following is set to indicate the FPU usage:
•
__TARGET_FPU_NONE
•
__TARGET_FPU_FPA
•
__TARGET_FPU_SOFTFPA
•
__TARGET_FPU_VFP
•
__TARGET_FPU_SOFTVFP
In addition, if compiling
-fpu softvfp+vfp
,
__TARGET_FPU_SOFTVFP_VFP
is also set.
See the description of the
-fpu vfp
option in
Specifying the target processor or architecture on
page 2-19 for more information on FPU options.
__thumb
– If using tcc or tcpp.
__TIME__
time When time of translation of the source file is required.
Table 3-4 Predefined macros (continued)
Name Value When defined