This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Improve unrolled size estimates
> On Mon, 11 May 2009, Jan Hubicka wrote:
>
> > Hi,
> > it turned out that there is some extra testsuite compensation neccesary
> > since in vectorizer testsuite we now tend fully unroll internal loops
> > preventing vectorization. In some cases unrolling makes sense, in some
> > cases we make code size growth because we account loads and stores to
> > have size of 0 I will fix by followup patch. Still it seems to make
>
> Stores have size 0? They never should ;)
Yes, both load and stores are estimated to size of 0 :) It was so
because metric was originally intended to only drive inliner and I
conlcuded that most of load/stores will be optimized away later anyway
so it makes sense to only count the real stuff done in the function.
Honza
>
> Richard.