Introduction - Intel i960 User Manual

Processor compiler
Hide thumbs Also See for i960:
Table of Contents

Advertisement

Program-wide Analysis
and Optimization

Introduction

This chapter teaches you how to use some of CTOOLS most powerful
optimization features:
individual module optimizations
program-wide optimizations
run-time profiling
To use the first two features you are going to:
1. Create a program database.
2. Specify which modules you want optimized.
3. Recompile your program using the
After these basic optimizations, you use profiling to gather information
about the runtime characteristic of your program and then optimize
performance based on that information.
The sections that follow describe the types of optimizations used in
program optimization.
Individual and Program-wide Optimizations
The compiler can perform sophisticated inter-module optimizations, such
as replacing function calls with expanded function bodies when the
function call sites and function bodies are in different object modules.
These are called program-wide optimizations because the compiler
collects information from multiple source modules before it makes final
option.
-fdb
4
4-1

Advertisement

Table of Contents
loading

Table of Contents