Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

MPLAB
®
XC16 C COMPILER
USERS GUIDE
2012-2013 Microchip Technology Inc. DS50002071C-page 215
Chapter 18. Optimizations
18.1 INTRODUCTION
Different MPLAB XC16 C Compiler editions support different levels of optimization.
Some editions are free to download and others must be purchased.
The compiler is available in the following editions:
18.2 SETTING OPTIMIZATION LEVELS
Here are the optimizations for different editions of the compiler, by O-level and GCC
optimization:
PRO: -O3, -Os, -mpa (Also allows usage of Free and STD optimizations)
STD: -O2 (Also allows usage of Free optimizations)
Free: -O0, -O1
Different optimizations may be set ranging from no optimization to full optimization,
depending on your compiler edition. When debugging code, you may prefer not to
optimize your code to ensure expected program flow.
For details on compiler options used to set optimizations, see Section 5.7.6 Options
for Controlling Optimization.
Edition Cost Description
Professional (PRO) Yes
Implemented with the highest optimizations and
performance levels.
Standard (STD) Yes Implemented with ample optimizations levels and high per-
formance levels.
Free No Implemented with the most restrictions on code
optimizations.
Evaluation (EVAL) No PRO edition enabled for 60 days; afterward reverts to Free
edition.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh