This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/28772] scheduler is too slow and O(n^2) for ia64
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Feb 2007 20:51:28 -0000
- Subject: [Bug rtl-optimization/28772] scheduler is too slow and O(n^2) for ia64
- References: <bug-28772-50@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from ebotcazou at gcc dot gnu dot org 2007-02-14 20:51 -------
Subject: Bug 28772
Author: ebotcazou
Date: Wed Feb 14 20:51:12 2007
New Revision: 121964
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121964
Log:
PR rtl-optimization/28772
* Makefile.in (haifa-sched.o): Add dependency on $(PARAMS_H).
Backport from mainline:
2006-04-13 Eric Botcazou <ebotcazou@adacore.com>
* params.def (PARAM_MAX_SCHED_READY_INSNS): New parameter,
defaulting to 100.
* params.h (MAX_SCHED_READY_INSNS): New macro.
* haifa-sched.c: (queue_to_ready): Re-queue insns for the next cycle
past MAX_SCHED_READY_INSNS during the first scheduling pass.
(schedule_block): Delay insns past MAX_SCHED_READY_INSNS in
the ready list for 1 cycle during the first scheduling pass.
* doc/invoke.texi (--param): New parameter max-sched-ready-insns.
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/Makefile.in
branches/gcc-4_1-branch/gcc/doc/invoke.texi
branches/gcc-4_1-branch/gcc/haifa-sched.c
branches/gcc-4_1-branch/gcc/params.def
branches/gcc-4_1-branch/gcc/params.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28772