Optimizations
- Non processor specificThe following sections describe the general optimizations done by the compiler, they are not processor specific. Some of these require some compiler switch over
- Processor specificThis lists the low-level optimizations performed, on a processor per processor basis. Intel 80x86 specific Here follows a listing of the optimizing techniques u
- Optimization switchesThis is where the various optimizing switches and their actions are described, grouped per switch. -On: with n = 1..4: these switches activate the optimizer. A
- Tips to get faster codeHere, some general tips for getting better code are presented. They mainly concern coding style. Find a better algorithm. No matter how much you and the compile
- Tips to get smaller codeHere are some tips given to get the smallest code possible. Find a better algorithm. Use the -Os compiler switch. Regroup global static variables in the same mo
- Whole Program OptimizationOverview Traditionally, compilers optimize a program procedure by procedure, or at best compilation unit per compilation unit. Whole program optimization (WPO)
- General principlesA few general principles have been followed when designing the FPC implementation of WPO: All information necessary to generate a WPO feedback file for a progra
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
