[PATCH] Rewrite the last define_function_unit description (SHmedia)

Paolo Bonzini bonzini@gnu.org
Mon Jul 12 12:41:00 GMT 2004


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?

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: remove-last-function-unit-description.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040712/848f079a/attachment.ksh>


More information about the Gcc-patches mailing list