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] PowerPC DFA description


>>>>> Vladimir Makarov writes:

Vlad> You are absolutely
Vlad> correctly understand the DFA syntax.  It looks like incorrect
Vlad> description of the processor.  You also propose the right solution
Vlad> (replacing mciu_iter by mciu).

	I have rearranged the DFA descriptions into a separate file for
each group of similar processors, like the other GCC architectures which
have been converted.

	I performed a comparison of some benchmarks compiled for PPC604e
processor with the corrected DFA description, with the corrected DFA
description removing dispatch modeling, with the original scheduling
description.  (The DFA description without modeling the dispatch unit
should be equivalent to a direct translation of the original scheduling
description to DFA language.)

	The results are: original description best, DFA translation 1%
slower, DFA with dispatch 3-4% slower.

	Why does one need to model dispatch if issue rate is specified?  I
can understand modeling dispatch for Altivec on PPC7450 where only two
instructions can get dispatched to four sub-units per cycle, but general
dispatch modeling seems redundant.  I don't see that modeled for other
DFA descriptions contributed to GCC.

Thanks, David


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