Genetic Algorithms and Compiler Optimizations
mfago writes "Scott Robert Ladd has written an enlightening article and accompanying software package that utilizes genetic algorithms to optimize the optimization flags fed to a compiler. Those who have tried to squeeze the last drop of performance
from a code know that it can be very difficult to determine the set of optimization flags beyond -O3 (with gcc for example) that yields the best performance. Lots of background links included in the article."
This is a new low. Next we'll see papers
on using genetic algorithms to find the best
channel on TV.
What would be interesting is a genetic system
to select meso-scale optimizations in a
compile back-end, for example.
-I like my women like I like my tea: green-