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: [PATCH] Fix scheduling at the end of blocks.


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.


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