This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Some thoughts and quetsions about the data flow infrastracture
- From: "Steven Bosscher" <stevenb dot gcc at gmail dot com>
- To: "Vladimir Makarov" <vmakarov at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 12 Feb 2007 21:50:06 +0100
- Subject: Re: Some thoughts and quetsions about the data flow infrastracture
- References: <45D0CF0D.3010708@redhat.com>
On 2/12/07, Vladimir Makarov <vmakarov@redhat.com> wrote:
I like df infrastructure code from the day one for its clearness.
Unfortunately users don't see it and probably don't care about it.
With my point of view the df infrastructure has a design flaw. It
extracts a lot of information about RTL and keep it on the side. It
does not make the code fast.
It also does not make code slow. And the data it extracts and keeps
on the side, could be used to simplify many algorithms in gcc (most
notably, cprop, mode switching, and regmove). There is a tremendous
potential for speedups in RTL passes if they start using the df
register caches, instead of traversing the PATTERN of every insn.
Gr.
Steven