This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Rewrite the last define_function_unit description(SHmedia)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]