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: Memory usage reduction in loop.c ?


Christophe Jaillet <christophe.jaillet@wanadoo.fr> wrote:

> I think that the structure 'struct loop_info' in loop.c could be
> shrinked a bit if all the 'int has_XXX' fields where turned into a
> bitfield just as in 'struct iv_class' or 'struct induction' in the
> same file.
>
> I don't know if it worse it (in term of memory usage reduction)
> neither the impact in performance.
>
> If anyone interested, I can try it and do a bootstrap but I don't
> have the tools to perform benchmark (memory usage or speed of the
> compiler)

loop.c is a dead man walking. It'll be probably removal in GCC 4.2, so I
wouldn't waste my time on it. If you want to improve RTL loop optimizers, look
into the new RTL loop optimizer (loop-*.c).

Giovanni Bajo


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