Question about default optimizations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all, 

I am implementing a generator of optimization sequences for GCC 4.8.4. The
Generator use an evolutionary algorithm to evolve a list of optimization
sequences like acovea (http://hg.ahs3.net/acovea/debian/html/acoveaga.html)
The list of optimizations I have to chosen to evolve are the flags that can
be turned on or off in each of the standard GCC levels 01 to O3 and Ofast
(around 78 flags). 

I ve read that "most optimizations are only enabled if an -O level is set on
the 
command line. Otherwise they are disabled, even if individual optimization
flags are specified"

So if I have a list of generated sequences, How can I add default
optimizations?

O1 + <generated_sequence_1> == O2 + <generated_sequence_1> == O3 +
<generated_sequence_1> ???

If not, how can I tell GCC to run default optimizations in addition to my
generated flags.


NB:
In acovea, they said "Each initial population is a set of randomly-selected
acovea_organisms. I also "seed" each population with predefined organisms
that represent the "composite" optimization options -O1, -O2, -O3, and -Os.
That way, I ensure that the default settings get a chance to compete with
random option sets"

How did they define  the "composite" optimization options ?

Thank you in advance.











--
View this message in context: http://gcc.1065356.n5.nabble.com/Question-about-default-optimizations-tp1208211.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux