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: Why does the athlon_fp DFA have so many states?


> > While compiling mainline/3.3 on i686-pc-linux-gnu
> > I have always noted that the DFA for athlon_fp has the
> > maximum number of asterisks ('*').
> 
> I have sometimes noticed system going out of virtual 
> memory while processing athlon DFA description.
> Complex pipelines lead to a large number of DFA states.
> Athlon's pipeline seems complex at first glance. (though
> I am not very familiar with athlon internals.) 
> It might help, if it is possible to do some more automaton 
> factoring for athlon. But thats just a guess.

There is no way to factor the automaton more with current design.
The Athlon FP pipes has both high pararelism and occasionally high
latencies resulting in huge state space.  The current description is
very inexact to fit in memory.
I was thinking about two sollutions to this.  Either we can decompose
the automatons serially or use different representation (in the Athlon
space an bitmask of states with 3 alternatives per insn would suffice
resulting in tiny table).

Honza
> 
> Best Regards,
> Naveen Sharma.


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