Memory usage reduction in loop.c ?
Giovanni Bajo
giovannibajo@libero.it
Tue Aug 23 09:07:00 GMT 2005
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
More information about the Gcc
mailing list