[XviD-devel] Linux (gcc) optimizations
chl at math.uni-bonn.de
Thu Dec 11 00:33:13 CET 2003
On Thu, 11 Dec 2003, Cameron Brunner wrote:
> On Wed, 10 Dec 2003 23:27:09 +0100, Edouard Gomez <ed.gomez at free.fr> wrote:
> > Christoph Lampert (chl at math.uni-bonn.de) wrote:
> >> With "-fcgse" compiling failed on all SuSE 9. I myself updated an older
> >> version with a newer gcc and had the same problems now.
> > Strange, Debian uses a "latest gcc release" + CVS updates (to fix
> > regressions only afaik) and it does compile everything like a charm.
> > Anyway, go ahead, change what is needed (in the first lines of
> > configure.in, you'll find the aggregated default compile
> > options). According to latest gcc benchmarking (the one with a DNA
> > based benchmarking procedure) -03 gave best results for most tests. We
> > should just take care of additionnal flags which can cause trouble
> > combined with -03.
> > Someone feeling the courage to run the DNA banchmrking ? ;-)
> -O3 is evil on a gcc 3.2.2 from freebsd, be warned, i get core dumps if i
> use O3 on 3.2.2 but on 3.3.3 -O3 is fine. Keep in mind that most people's
> compilers are antique.
I would have opted for -O2, since the difference wasn't noticable anyway.
Any objections from any plattform against -O2 ?
More information about the XviD-devel