Let's backport speedups from 3.4 to 3.3

Karel Gardas kgardas@objectsecurity.com
Thu Feb 13 22:31:00 GMT 2003


On Wed, 12 Feb 2003, Mike Stump wrote:

> On Wednesday, February 12, 2003, at 02:09 PM, Karel Gardas wrote:
> > On Wed, 12 Feb 2003, Karel Gardas wrote:
> >> So I'm starting bootstrap...
> >
> > And bootstrap fails with:
> > /home/karel/usr/src/cvs/gcc/obj/gcc/../../gcc33-test/gcc/ggc-
> > page.c:1540:
> > undefined reference to `__builtin_prefetch'
>
> > So something wrong seems to be with this patch.
>
> Oh, yes, that needs to be protected or removed, I'll do this, it'll be
> in my next rev.  In the mean time, #if 0 it and you can continue.
> Those actually speed up the routine by 23%, so I do want to keep them
> in there in some form.
>

As I said, I've commented them out and succesfully bootstrap C/C++. Then I
make some tests with the same MICO sources like two/three days ago.

Result is that both version compile at the same speed. i.e. I've done two
tests. In the first standard 3.3 was faster (1-2%) in the second 3.3 with
your patch was faster (1-2%) - so IMHO that's normal noise...

Anything other which should I test?

Thanks,

Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com



More information about the Gcc mailing list