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

Re: Changing CFLAGS for i386 packages on x86_64(benchmarks included)



dragoran <dragoran <at> feuerpokemon.de> writes:
> the last one (-m64) is weird (much slower!!) no -OX was used.

Then your benchmarks are essentially worthless. Sorry, but since GCC defaults 
to -O0, which means no optimization whatsoever, i.e. very bad code, you should 
NEVER compile production code without an -O flag (generally -O2 or -Os), and 
especially not benchmarks!

So please rerun your benchmarks with -O2 to get more useful results.

        Kevin Kofler


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