This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix scheduling at the end of blocks.
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Maxim Kuvyrkov" <maxim at codesourcery dot com>
- Cc: "Vladimir Makarov" <vmakarov at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, "Andrey Belevantsev" <abel at ispras dot ru>
- Date: Wed, 5 Dec 2007 23:02:30 +0100
- Subject: Re: [PATCH] Fix scheduling at the end of blocks.
- References: <47445B5F.8030509@codesourcery.com> <475719F9.6050400@codesourcery.com>
On Dec 5, 2007 10:36 PM, Maxim Kuvyrkov <maxim@codesourcery.com> wrote:
> Maxim Kuvyrkov wrote:
> > Hi,
> >
> > This patch makes haifa scheduler better process instructions at the end
> > of blocks (basic blocks or extended basic blocks).
>
> Sorry, I posted an early version of the patch without comments. Here's
> a proper patch.
>
> > OK for trunk?
Does this address a bug / regression? We are in stage3, so this quite
probably has
to wait for 4.4
Thanks,
Richard.
> 2007-11-20 Maxim Kuvyrkov <maxim@codesourcery.com>
>
> Make scheduler better process end of the blocks.
>
> gcc/
>
> * haifa-sched.c (insn_finishes_cycle_p): New static function.
> (max_issue): Use it. Fix handling of number of instruction to try.
> * sched-int.h (struct sched_info: insn_finished_block_p): New
> scheduler hook.
> * sched-rgn.c (rgn_insn_finishes_block_p): Implement it.
> (region_sched_info): Update.
> * sched-ebb.c (ebb_sched_info): Update.
> * modulo-sched.c (sms_sched_info): Update.