|ARM Technical Support Knowledge Articles|
Applies to: C166 C Compiler
Information in this article applies to:
What does the OT(7) directive do in the C166 Compiler?
OT(7) enables optimizer level 7. This is a new optimization in C166 Version 4.
Optimizer Level 7 offers Common Tail Merging. The compiler analyzes the generated code function-by-function and locates common heads and tails. If the compiler detects common code sequences, it replaces one code sequence by a jump instruction to the other equivalent code sequence. This situation frequently occurs with switch/case statements. While analyzing the code, the compiler also replaces sequences with shorter instructions. Optimizer level 7 includes all optimizations of levels 0-6.
Article last edited on: 2000-09-07 00:00:00
Did you find this article helpful? Yes No
How can we improve this article?