------- Comment #5 from ebotcazou at gcc dot gnu dot org 2005-11-14 18:50 ------- Created an attachment (id=10236) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10236&action=view) Patch (against 3.4.x) for controlling the explosion of the 1st scheduling pass.
* params.def (PARAM_MAX_SCHED_READY_INSNS): New parameter, defaulting to 100. * params.h (MAX_SCHED_READY_INSNS): New macro. * haifa-sched.c: Include param.h. (queue_to_ready): Re-queue insns past MAX_SCHED_READY_INSNS for the next cycle 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. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24853