Microchip Technology SW006023-2 Data Sheet

Page of 238
MPLAB
®
 XC32 C/C++ Compiler User’s Guide
DS51686E-page 174
 2012 Microchip Technology Inc.
16.5.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 (e.g., -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
32 or 64, depending on command line options 
to set the size of an integer (
-mint32 
-mint64
)
_MIPS_SZLONG
32 or 64, depending on command line options 
to set the size of an integer (
-mlong32 
-mlong64
)
_MIPS_SZPTR
32 always since all pointers are 32 bits
__mips_no_float
Defined if 
-mno-float
 specified
__mips__
_mips
_MIPS_ARCH_PIC32MX
_MIPS_TUNE_PIC32MX
_R3000
__R3000
__R3000__
__mips_soft_float
__MIPSEL
__MIPSEL__
_MIPSEL
Always defined
R3000
MIPSEL
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