This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Your new friend and mine, gensimplify
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: [PATCH] Your new friend and mine, gensimplify
- From: Daniel Berlin <dan at www dot cgsoftware dot com>
- Date: Sat, 12 May 2001 22:50:04 -0400 (EDT)
- cc: <gcc-patches at gcc dot gnu dot org>
Except, in order to preform tree simplification as well, I had to
significantly duplicate most of the output routines (since they don't
defer output, i can't just do btoh at once, and the tree output routines
are already starting to diverge, so it made sense).
It also required code from genemit, which has now been modified as well.
In other words, i'd really have to mess up genrecog something awful to do
this, because genrecog only does stuff for rtx,and it never will do stuff
for trees (since it's whole purpose is to generate routinse that operate
on rtx), nor should it.
It was a first pass, and rather than start from scratch, i stared with a
a merged genrecog and genemit.
On Sat, 12 May 2001, Richard Henderson wrote:
> On Fri, May 11, 2001 at 11:26:26PM -0400, Daniel Berlin wrote:
> > * gensimplify.c: New file. generate RTL simplifiers from a
> > description mode.
>
> You've copied so much of genrecog that I'd really rather you
> modify genrecog to emit whatever else you need instead of
> duplicating so much.
>
>
> r~
>