This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [dfa-branch] DFA pipeline description for SH4
- From: Vladimir Makarov <vmakarov at redhat dot com>
- To: Naveen Sharma <naveens at noida dot hcltech dot com>
- Cc: Nitin Gupta <niting at noida dot hcltech dot com>, gcc-patches at gcc dot gnu dot org, Sanjiv Kumar Gupta <sanjivg at noida dot hcltech dot com>
- Date: Thu, 20 Dec 2001 11:20:26 -0500
- Subject: Re: [dfa-branch] DFA pipeline description for SH4
- References: <E04CF3F88ACBD5119EFE00508BBB2121DBB834@exch-01.noida.hcltech.com>
Naveen Sharma wrote:
>
> Hi,
>
> > > >> 26th Sept,2001,Naveen Sharma Wrote:
> > > > > I have been interested by the discussion on the new DFA
> > > > based scheduler
> > > > > developed by you for gcc.I plan to study the
> > implementation of the
> > > > > scheduler and would like to contribute further for the
> > scheduler.
> > > > > My friend,Nitin Gupta,would be joining me in the effort.
> > > > > At present we are interested in using the DFA based scheduler
> > > > > for SH4 target which might benefit from the new scheduler.
>
> > I've never worked on SH4. If this is a not OOO processor
> > than you might have an improvement.
>
> We would like to submit DFA pipeline description for SH4 processor.
> We would also like to inform about test results that we have measured
> with this patch.Some benchmarks notably SLALOM
>
> ( http://www.scl.ameslab.gov/Publications/SLALOM/FirstScalable.html)
>
> have shown (12%-13%)improvement.
>
It is a great news for me. Thank you for your work!
> Meanwhile there are certain applications which have slightly
> degraded performance.We are analysing them and would update
> you regarding them.
>
Usually, it is well known conflict between insn schedulers and
register allocators. Dfa-based scheduler improves fine-grain
parallelism by moving some insns further which results in increasing
register pressure and spilling registers. So you could check additional
spilling registers the first to find the reason of the degradation. The
simplest solution of the problem could be using register pressure in
insn scheduler heuristics.
Vlad