This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Scheduler: Allow breaking dependencies by modifying patterns
- From: Maxim Kuvyrkov <maxim at codesourcery dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 14 Aug 2012 16:49:44 +1200
- Subject: Re: Scheduler: Allow breaking dependencies by modifying patterns
- References: <501BBE7B.7030104@codesourcery.com>
On 4/08/2012, at 12:05 AM, Bernd Schmidt wrote:
> This patch allows us to change
>
> rn++
> rm=[rn]
>
> into
>
> rm=[rn + 4]
> rn++
This is a good scheduler optimization that I wanted to have for quite a while. Bernd, kudos for implementing it!
I am going to review this patch, and then the scheduler maintainers will have an option of accepting my word for it, or doing a second review. I have reviewed earlier versions of this patch, so I know I'm happy with the general structure of the optimization.
--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics