Microchip Technology SW006023-2N Data Sheet
MPLAB
®
XC32 C/C++ COMPILER
USER’S GUIDE
2012 Microchip Technology Inc.
DS51686E-page 167
Chapter 15. Optimizations
15.1
INTRODUCTION
Different MPLAB XC32 C/C++ Compiler editions support different levels of optimiza-
tion. Some editions are free to download and others must be purchased. Visit
http://www.microchip.com/MPLABXCcompilers for more information on C and C++
licenses.
tion. Some editions are free to download and others must be purchased. Visit
http://www.microchip.com/MPLABXCcompilers for more information on C and C++
licenses.
The compiler editions are:
Setting Optimization Levels
Different optimizations may be set ranging from no optimization to full optimization,
depending on your compiler edition. When debugging code, you may wish to not
optimize your code to ensure expected program flow.
depending on your compiler edition. When debugging code, you may wish to not
optimize your code to ensure expected program flow.
For details on compiler options used to set optimizations, see Section 3.9.7 “Options
for Controlling Optimization”.
for Controlling Optimization”.
Edition
Cost
Description
Professional (PRO)
Yes
Implemented with the highest optimizations and
performance levels.
performance levels.
Standard (STD)
Yes
Implemented with ample optimizations levels and high
performance levels.
performance levels.
Free
No
Implemented with the most code optimizations
restrictions.
restrictions.
Evaluation (EVAL)
No
PRO edition enabled for 60 days and then reverts to
Free edition.
Free edition.