Jump to main content
MPLAB® XC32 C Compiler User's Guide for PIC32A MCU
MPLAB® XC32 C Compiler User's Guide for PIC32A MCU
  1. Home
  2. 4 How To's
  3. 4.5 Understanding the Compilation Process
  4. 4.5.10 Which Optimizations Will Be Applied to My Code?

  • Notice to Development Tools Customers
  • 1 Preface
  • 2 Compiler Overview
  • 3 Compiler and Other Development Tools
  • 4 How To's
    • 4.1 Installing and Activating the Compiler
    • 4.2 Invoking the Compiler
    • 4.3 Writing Source Code
    • 4.4 Getting My Application to Do What I Want
    • 4.5 Understanding the Compilation Process
      • 4.5.1 How Does Licensing Affect Features and Optimization Levels?
      • 4.5.2 Why Can’t I Debug my Code after I Optimize?
      • 4.5.3 How Can I Make My Code Smaller?
      • 4.5.4 How Can I Reduce RAM Usage?
      • 4.5.5 How Can I Make My Code Faster?
      • 4.5.6 What are the Speed vs. Size Tradeoffs?
      • 4.5.7 How Can I Control Where the Language Tool Places Objects in Memory?
      • 4.5.8 How Can I Make My Interrupt Routine Faster?
      • 4.5.9 How Big Can C Variables Be?
      • 4.5.10 Which Optimizations Will Be Applied to My Code?
      • 4.5.11 Which Devices are Supported by the Compiler?
      • 4.5.12 How Do I Know What Code the Compiler Is Producing?
      • 4.5.13 How Can I Tell How Big a Function Is?
      • 4.5.14 How Do I Learn Where Variables and Functions Have Been Positioned?
      • 4.5.15 How Do I Properly Reserve Memory?
      • 4.5.16 How Do I Know How Much Memory Is Still Available?
      • 4.5.17 Which Libraries Get Included by Default?
      • 4.5.18 How Do I Create My Own Libraries?
      • 4.5.19 How Do I Stop My Project's Checksum From Changing?
    • 4.6 Fixing Code That Does Not Work
  • 5 XC32 Toolchain and MPLAB® X IDE
  • 6 Compiler Command-Line Driver
  • 7 Device-Related Features
  • 8 Differences Between MPLAB® XC32 and C Standard
  • 9 Supported Data Types and Variables
  • 10 Fixed-Point Arithmetic Support
  • 11 Memory Allocation and Access
  • 12 Operators and Statements
  • 13 Register Usage
  • 14 Functions
  • 15 Interrupts
  • 16 Main, Runtime Startup and Reset
  • 17 Mixing C and Assembly Code
  • 18 Library Routines
  • 19 Optimizations
  • 20 Preprocessing
  • 21 Linking Programs
  • 22 Implementation-Defined Behavior
  • 23 Embedded Compiler Compatibility Mode
  • 24 Common C Interface
  • 25 Diagnostic Pragmas
  • 26 Diagnostic Messages
  • 27 GNU Free Documentation License
  • 28 Built-in Functions
  • 29 Document Revision History
  • Microchip Information

4.5.10 Which Optimizations Will Be Applied to My Code?

Code optimizations available depend on your compiler license. For more information, refer to the following chapter and section of this user’s guide:

19 Optimizations

6.6.6 Options for Controlling Optimization

About

Company
Careers
Contact Us
Media Center
Investor Relations
Corporate Responsibility

Support

Microchip Forums
AVR Freaks
Design Help
Technical Support
Export Control Data
PCNs

Quick Links

microchipDIRECT.com
Microchip University
myMicrochip
Blogs
Reference Designs
Parametric Search
Microchip Logo

Microchip Technology Inc.

2355 West Chandler Blvd.

Chandler, Arizona, USA

Microchip Facebook
Microchip LinkedIn
Microchip Twitter
Microchip Instagram
Microchip Weibo

© Copyright 1998-2024 Microchip Technology Inc. All rights reserved. Shanghai ICP Recordal No.09049794

Terms Of Use
Privacy Notice
Legal
Your Privacy Choices California Consumer Privacy Act (CCPA) Opt-Out Icon