|Efficacy of compiler optimizations firstname.lastname@example.org (2003-08-04)|
|Re: Efficacy of compiler optimizations derkgwen@HotPOP.com (Derk Gwen) (2003-08-10)|
|Re: Efficacy of compiler optimizations email@example.com (2003-08-10)|
|Re: Efficacy of compiler optimizations firstname.lastname@example.org (John Fiskio-Lasseter) (2003-08-10)|
|From:||Derk Gwen <derkgwen@HotPOP.com>|
|Date:||10 Aug 2003 10:51:21 -0400|
|Organization:||Quick STOP Groceries|
|Posted-Date:||10 Aug 2003 10:51:21 EDT|
email@example.com (Learner) wrote:
# Hi all,
# I had a general question about compiler optimizations and believe
# this is a great place to ask!
# First of all there are numerous number of compiler optimizations and
# they each have their own characteristics..my questions is two-fold:
# 1. What is the cost/benefit ratio of these optimizations.
There is no simple, linear relation. Small changes in the program can have
major effects on the optimisation.
# 2. How do these compiler optimizations interact? i.e. does one
# optimization negate the effect of another optimization if done in a
# particular order?
Optimisation are usually orderred so that one phase sets up conditions
that subsequent phases can assume are true rather repeating
work. Otherwise nonlinearities getting the best orderring and
interleaving of phases is artwork or guesswork.
Derk Gwen http://derkgwen.250free.com/html/index.html
The whole world's against us.
Return to the
Search the comp.compilers archives again.