* Memory usage reduction in loop.c ?
@ 2005-08-22 22:39 Christophe Jaillet
2005-08-23 9:07 ` Giovanni Bajo
0 siblings, 1 reply; 2+ messages in thread
From: Christophe Jaillet @ 2005-08-22 22:39 UTC (permalink / raw)
To: gcc
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)
Christophe Jaillet
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Memory usage reduction in loop.c ?
2005-08-22 22:39 Memory usage reduction in loop.c ? Christophe Jaillet
@ 2005-08-23 9:07 ` Giovanni Bajo
0 siblings, 0 replies; 2+ messages in thread
From: Giovanni Bajo @ 2005-08-23 9:07 UTC (permalink / raw)
To: Christophe Jaillet; +Cc: gcc
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-23 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-22 22:39 Memory usage reduction in loop.c ? Christophe Jaillet
2005-08-23 9:07 ` Giovanni Bajo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).