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: RFC: mips SB-1 DFA scheduler


On Fri, 2004-03-19 at 06:11, Nigel Stephens wrote:
> Will store_data_bypass_p in recog.c do the job?

Probably.  Thanks for the pointer, I will have to look at this.

> Surely for a load an 
> input dependency *must* be due to the address, since there's no data 
> register input to a load.

Yes, but in practice, things are a lot more complicated than that.  RTL
patterns can reference registers in different ways.  They sometimes
reference registers that they don't actually use.  RTL patterns can
match multiple operations.  The scheduler can create fake dependencies
for a number of situations, volatile asms, volatile mems, flushing lists
when they get too long to avoid O(N^2) effects, etc.  Thus a dependency
does not necessarily indicate an address-use.  But perhaps I am worrying
about a non-issue here.  I haven't looked at the details of what happens
in any of these cases, and most of these are going to be rare enough
that they may not matter.  Also the fake dependencies are usually not
going to be data dependencies.
-- 
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]