Chapter 11
Optimizations

11.1 Non processor specific
11.1.1 Constant folding
11.1.2 Constant merging
11.1.3 Short cut evaluation
11.1.4 Constant set inlining
11.1.5 Small sets
11.1.6 Range checking
11.1.7 And instead of modulo
11.1.8 Shifts instead of multiply or divide
11.1.9 Automatic alignment
11.1.10 Smart linking
11.1.11 Inline routines
11.1.12 Stack frame omission
11.1.13 Register variables
11.2 Processor specific
11.2.1 Intel 80x86 specific
11.2.2 Motorola 680x0 specific
11.3 Optimization switches
11.4 Tips to get faster code
11.5 Tips to get smaller code
11.6 Whole Program Optimization
11.6.1 Overview
11.7 General principles
11.7.1 How to use
11.7.2 Available WPO optimizations
11.7.3 format of the WPO file