This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Rewrite the last define_function_unit description(SHmedia)
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 17 Jul 2004 10:47:25 -0700
- Subject: Re: [PATCH] Rewrite the last define_function_unit description(SHmedia)
- References: <cctkmg$kbi$1@sea.gmane.org>
Paolo Bonzini <bonzini@gnu.org> writes:
> This patch removes the last define_function_unit description, the one
> for the SHmedia, replacing it with an equivalent automaton. I took
> the opportunity to move the automaton to separate files, which is done
> for most other machine descriptions.
>
> Removing this will enable further removal of about 2500 lines of code
> (1600 alone in genattrtab.c; the others are mostly in haifa-sched.c,
> sched-vis.c and genattr.c), not counting the documentation.
>
> I built cc1 for sh, but could not check the output on all but trivial
> cases due to the small number of vector testcases; it looks as usual
> similar to the one produced by the old scheduler. Ok for mainline?
This is OK.
And I'll preapprove the patch removing the machine-independent code
for old scheduling descriptions, too.
zw