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: DFA scheduler patch for review


In message <322710000.1020184857@gandalf.codesourcery.com>, Mark Mitchell write
s:
 > > Anyway, I really don't expect the DFA scheduler to have the kind of
 > > negative impact that the inliner had.
 > 
 > I agree.
 > 
 > The flip side of Jeff's point (that you only get the DFA scheduler where
 > it's turned on) is that we now again have two schedulers.  It would be
 > good if people would collaborate to do DFA schedulers for all the ports
 > so that we can lose the old new scheduler.
More correctly, we have two methods for describing a processor pipeline and
two methods for the scheduler to query that information from the backend.

For folks who are considering updating their ports; I would strongly recommend
first converting to a DFA description which produces the same code as the old
description.  That will give you familiarity with how to describe pipelines
using the new scheme and you can verify that the description does what you
expect by comparing the old and new schedules.  I've found this invaluable
for the PA port.

Once you've got a solid DFA description, then move to trying to improve it
by more accurately describing the various cpu units and reservations.
jeff


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