22.4.2 SDE Compatibility Macros
The MIPS® SDE (Software Development Environment) defines a number of
macros, most with the prefix “_MIPS_”, which characterize various target specific
options, some determined by command line options (for example,
-mint64
). Where applicable, these macros will be defined by the
compiler in order to ease porting applications and middleware from the SDE to the
compiler.
_MIPS_SZINT |
|
_MIPS_SZLONG |
|
_MIPS_SZPTR |
|
__mips_no_float |
|
__mips__
|
Always defined. |
R3000
|
Defined if -ansi is not specified. |
_mips_fpr |
Defined as 32. |
__mips16 |
Defined if -mips16 specified. |
__mips |
Defined as 32. |
__mips_isa_rev |
Defined as 2. |
_MIPS_ISA |
Defined as _MIPS_ISA_MIPS32 . |