This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] SH: New define_split sh.md
- From: "Naveen Sharma, Noida" <naveens at noida dot hcltech dot com>
- To: Joern Rennecke <joern dot rennecke at superh dot com>
- Cc: rth at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Thu, 30 Oct 2003 19:46:50 +0530
- Subject: Re: [PATCH] SH: New define_split sh.md
Joern Rennecke wrote:
> > 3. The benchmarking that I did suggests that splitting
> > is a win, even if, surrounding insns are not considered.
> > However, I cannot claim that is always the case.
>
> Where a code transformation appears to have potential
> drawbacks of comparable magnitude as potential gains, benchmarking
> can only give useful guidance if it is done with a large and diverse
> body of code that is representative of the various uses that the
> processor is being used for. Unfortunately, the effort to do
> this is prohibitive most of the times :-(
Ok, So I will make a peep2 pattern for this.
Before synthesizing a constant, we take care that it
is not already surrounded by EX group insns.
Best Regards,
Naveen Sharma.