Sign in Join
FPDoc Onlineexperiment

Optimizations

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. Whole Program OptimizationOverview Traditionally, compilers optimize a program procedure by procedure, or at best compilation unit per compilation unit. Whole program optimization (WPO)
  7. 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.