3.2 vs 3.1 speed

Vladimir N. Makarov vmakarov@redhat.com
Wed Jun 5 07:40:00 GMT 2002


Dan Nicolaescu wrote:

> I did a little test on the speed of 3.2 and 3.1 using the example
> posted earlier today on a Sparc machine with 1GB RAM.
> 3.2 was last updated on May 25.
>
> 3.2 is _slower_ than 3.1 at compiling the same preprocessed file.
>
> It looks like the main reasons for the speed decrease are: garbage
> collection, expand and scheduling.
> The times are the ones reported by -ftime-report
>
> The source code used is at: http://www.ics.uci.edu/~dann/orb.i.bz2
>
> Hope somebody can figure out what is going on...

Hi, Dan.  I'll look at the 1st insn scheduling (the 2nd insn scheduling is
actually faster) today.  As David, I suspect the code is slower because
scheduling lookahead.  I think that the specific features of code is in long
ready queues.  I have some ideas how to improve such behavior.

Vlad




More information about the Gcc mailing list