Jump to main content
MPLAB® XC32 C/C++ Compiler User's Guide for PIC32C/SAM MCUs
MPLAB® XC32 C/C++ Compiler User's Guide for PIC32C/SAM MCUs
  1. Home
  2. 3 How To's
  3. 3.5 Understanding the Compilation Process
  4. 3.5.8 What Optimizations Will Be Applied to My Code?

  • Notice to Development Tools Customers
  • 1 Preface
  • 2 Compiler Overview
  • 3 How To's
    • 3.1 Installing and Activating the Compiler
    • 3.2 Invoking the Compiler
    • 3.3 Writing Source Code
    • 3.4 Getting My Application To Do What I Want
    • 3.5 Understanding the Compilation Process
      • 3.5.1 What’s the Difference Between the Free and PRO Modes?
      • 3.5.2 How Can I Make My Code Smaller?
      • 3.5.3 How Can I Reduce RAM Usage?
      • 3.5.4 How Can I Make My Code Faster?
      • 3.5.5 How Does the Compiler Place Everything in Memory?
      • 3.5.6 How Can I Make My Interrupt Routine Faster?
      • 3.5.7 How Big Can C Variables Be?
      • 3.5.8 What Optimizations Will Be Applied to My Code?
      • 3.5.9 What Devices are Supported by the Compiler?
      • 3.5.10 How Do I Know What Code the Compiler Is Producing?
      • 3.5.11 How Can I Tell How Big a Function Is?
      • 3.5.12 How Can I Find Stack Usage Information For Each Function of My Program?
      • 3.5.13 How Do I Know What Resources Are Being Used by Each Function?
      • 3.5.14 How Do I Find Out Where Variables and Functions Have Been Positioned?
      • 3.5.15 Why are Some Objects Positioned into Memory that I Reserved?
      • 3.5.16 How Do I Know How Much Memory Is Still Available?
      • 3.5.17 How Do I Use Library Files In My Project?
      • 3.5.18 How Do I Customize the C Runtime Startup Code?
      • 3.5.19 How Do I Stop My Project's Checksum From Changing?
    • 3.6 Fixing Code That Does Not Work
  • 4 XC32 Toolchain and MPLAB X IDE
  • 5 Command-line Driver
  • 6 C Standard Issues
  • 7 Device-Related Features
  • 8 Supported Data Types and Variables
  • 9 Memory Allocation and Access
  • 10 Chip-Level Security and Arm® TrustZone® Technology
  • 11 Floating-point Support
  • 12 Fixed-Point Arithmetic Support
  • 13 Operators and Statements
  • 14 Register Usage
  • 15 Stack
  • 16 Functions
  • 17 Interrupts
  • 18 Main, Runtime Start-up and Reset
  • 19 Libraries
  • 20 Mixing C/C++ and Assembly Language
  • 21 Optimizations
  • 22 Preprocessing
  • 23 Linking Programs
  • 24 Implementation-Defined Behavior
  • 25 C++ Implementation-Defined Behavior
  • 26 Built-in Functions
  • 27 ASCII Character Set
  • 28 Document Revision History
  • The Microchip Website
  • Product Change Notification Service
  • Customer Support
  • Product Identification System
  • Microchip Devices Code Protection Feature
  • Legal Notice
  • Trademarks
  • Quality Management System
  • Worldwide Sales and Service

3.5.8 What Optimizations Will Be Applied to My Code?

Code optimizations available depend on the edition of your compiler (see Optimizations). A description of optimization options can be found under 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