This is the mail archive of the gcc@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: GCC DFA Scheduling Query


On Thu, 2003-09-11 at 21:55, Pankaj Dev wrote:
> yes true, the FETCH AND DECODE UNIT can be excluded from the DFA 
> representation but the WRITE BACK UNIT I think should be included since it 
> is used at the end. For e.g.

I don't have sparclet pipeline info and don't have any special interest
in the sparclet processor, so I can't advise you on the best way to
write the sparclet DFA description.

If a load followed by an ALU instrution causes a stall, then certainly
you want to model that.  If modeling the writeback unit is necessary to
describe it then you would want to do that.  There may also be other
ways to describe it.

I see that the sparc/ultra1_2.md and sparc/ultra3.md files have support
for load writeback cycles.  They don't model an actual writeback unit
though, they just conflict with the alu for a cycle.  This is what I'd
expect to see to model this kind of issue.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


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