Abstract
The previous chapter discussed the various types of optimizations that the GCC compilers can perform for you. Some of these optimizations are automatic, whereas others only make sense based on the characteristics of the application that you are trying to optimize. For example, you can only decide where and if to use optimizations such as unrolling or inlining loops after studying your application and identifying loops that might benefit from these optimizations. (Unrolling or inlining loops means to insert the code for each iteration of a loop in sequence so that a loop is no longer present; it is replaced by a series of sequential statements that explicitly perform the contents of the loop for each value of the variable that controls the loop.)
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2004 Kurt Wall and William von Hagen
About this chapter
Cite this chapter
Wall, K., Von Hagen, W. (2004). Performing Code Analysis with GCC. In: The Definitive Guide to GCC. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0704-7_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0704-7_6
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-109-3
Online ISBN: 978-1-4302-0704-7
eBook Packages: Springer Book Archive