Download ARM ® Compiler Software Development Guide

Transcript
Chapter 5
Linking Object Files to Produce an Executable
5.1
Chapter 6
Optimization
6.1
6.2
Chapter 7
Optimization of loop termination in C code .............................................................. 7-38
Loop unrolling in C code .......................................................................................... 7-40
Compiler optimization and the volatile keyword ........................... ........................... 7-42
Stack use in C and C++ ............................................. ............................................. 7-44
Methods of minimizing function parameter passing overhead ................ ................ 7-46
Inline functions .................................................... .................................................... 7-47
Integer division-by-zero errors in C code ................................ ................................ 7-48
About trapping integer division-by-zero errors with __aeabi_idiv0() ........................ 7-49
About trapping integer division-by-zero errors with __rt_raise() .............................. 7-50
Identification of integer division-by-zero errors in C code ........................................ 7-51
Language Compatibility and Extensions
8.1
ARM DUI0773A
Optimizing for code size or performance ................................ ................................ 6-35
How optimization affects the debug illusion .............................. .............................. 6-36
Coding Considerations
7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8
7.9
7.10
Chapter 8
Linking object files to produce an executable .......................................................... 5-33
Language compatibility and extensions ................................. ................................. 8-53
Copyright © 2014 ARM. All rights reserved.
Non-Confidential
4