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]
Other format: [Raw text]

Re: Little C-benchmarks of gcc-2.95.4-ss,gcc-3.3.4-ss,gcc-3.4.1-ss & gcc-3.5.0-ss.


On Tuesday 01 June 2004 18:09, Andreas Jaeger wrote:
> jc-nospam@jr-pizarro.jazztel.es writes:
> > My favorite architecture for GCC is i486 because it is simple pipeline
> >? non-superscalar with cache's instructions and fairly good for the
> >? combination of GCC's optimizer and the complex microprocessor AthlonXP.

Of course your benchmarks are completely meaningless if you compile
for a i486 and run it on an Athlon.


> > * CFLAGS_only_for_gcc35="$CFLAGS -ftree-ccp -ftree-pre -ftree-dce
> > -ftree-dse \ -ftree-lrs -ftree-combine-temps -ftree-ter -ftree-copyrename
> > \
> > -ftree-dominator-opts -ftree-ch -ftree-sra"
>
> Aren't those enabled by default?

At -O2 they all are enabled by default.


> > For HPC (High Performance Computing), between gcc-2.95.4, gcc-3.3.3,
> >  gcc-3.4.0 and gcc-3.5.0-ss, i recommend gcc-3.4.0 as the
> >  default stable compiler because gcc-3.5.0-ss is very big, unstable and
> >  slow due to many SSA's optimizations that it doesn't match very good
> > results.

To the best of (at least) my knowledge, the SSA optimizations are
not slow.  You can see what component of the compiler takes too 
much compile time by looking at the output of -ftime-report (and
file bugs when an SSA optimizer eats up more than, say, 10% of the
total compile time).

Did you build the 3.5 snapshot with --disable-checking?

Gr.
Steven



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