8.1 Optimizations

Next: 8.1.1 Sub-expression Elimination Up: 8. SDCC Technical Data Previous: 8. SDCC Technical Data Contents Index

#
8.1 Optimizations

SDCC performs a host of standard optimizations in addition to some MCU specific optimizations.

Subsections

- 8.1.1 Sub-expression Elimination
- 8.1.2 Dead-Code Elimination
- 8.1.3 Copy-Propagation
- 8.1.4 Loop Optimizations
- 8.1.5 Loop Reversing
- 8.1.6 Algebraic Simplifications
- 8.1.7 'switch' Statements
- 8.1.8 Bit-shifting Operations.
- 8.1.9 Bit-rotation
- 8.1.10 Nibble and Byte Swapping
- 8.1.11 Highest Order Bit / Any Order Bit
- 8.1.12 Higher Order Byte / Higher Order Word
- 8.1.13 Peephole Optimizer