This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Question about compile options


Hello I have a 1.33 Ghz Athlon and I have a question about what are the best 
compile options to use with Gcc-3.0?  I know that I should use -O2 because 
sometimes -O3 produces slower code because of the inlining.  What I do not 
know though is what -malign-jumps and -malign-functions and -m-align-loops 
and -mpreferred-stack-boundary should be set to for best performance?  I do 
not care if the code size is a little bit bigger because I have 256 MB of RAM 
but I do want to know what I should set those options to for max performance. 
 Can anyone help me?  Or at least should me some benchmarks I could 
compile/run to help me figure out what to set those options to?

Luke


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]