Backend port: Minimizing register usage in favor of memory accesses
Richard Earnshaw
rearnsha@arm.com
Wed Mar 31 12:53:00 GMT 2004
> The goal of an optimizing compiler is to produce the fastest code for
> the target.
Not necessarily. The goal of an optimizing compiler is to minimize some
cost metric. Sometimes that cost metric is the same as 'target execution
time' at other times it is something else, such as 'code size'. Many of
the specific optimizations performed will be same regardless of the
overall cost metric being worked on; but not always.
R.
More information about the Gcc
mailing list