This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC performance regression - its memset !
> Also as I've been only giving bad news up to now, I wanted to say that
> now that I've worked around the two issues I had with inlining and
> with memset, the 3.1 snapshot does provide superior performance on my
> libmpeg2 codebase, about 5% faster than 2.95.4, and that gets up to 8%
> when using -fbranch-probabilities and 9% when using -mcpu=athlon-tbird
> instead of the more generic -mcpu=pentiumpro. Nice work guys ! I am
Just note that -mcpu=pentiumpro is not generic at all. It optimizes
for pentiumpro and (in turn P2/P3), but nothing else.
Perhaps we can have switch to generate code working well on the modern CPUs,
but we don't
Honza
> still worried though, that other people will have the same trouble
> with inlining as I did and not see all of the performance improvements
> as a result.
>
> Cheers,
>
> --
> Michel "Walken" LESPINASSE
> Is this the best that god can do ? Then I'm not impressed.