[commited] insn priority adjustments in scheduler and rs6000 port

Dorit Naishlos DORIT@il.ibm.com
Tue Oct 7 10:41:00 GMT 2003


Commited, following Vladimir Makarov's approval
(http://gcc.gnu.org/ml/gcc-patches/2003-09/msg02157.html).

Dorit

2003-10-07  Dorit Naishlos <dorit@il.ibm.com>

        * sched-int.h (sched_info): New field
        sched_max_insns_priority.
        * sched-rgn.c (init_ready_list): Add invocations to
        targetm.sched.adjust_priority.
        (sched_max_insns_priority): Init new field.
        * sched-ebb.c (sched_max_insns_priority): Init new field.
        * haifa-sched.c (set_priorities): Set
        sched_info->sched_max_insns_priority.
        * config/rs6000/rs6000.h:
        (rs6000_sched_restricted_insns_priority_str): Support new
        flag -mprioritize-restricted-insns.
        (DEFAULT_RESTRICTED_INSNS_PRIORITY): Define.
        * config/rs6000/rs6000.c (is_dispatch_slot_restricted): New
        function.
        (rs6000_adjust_priority): Change priority of restricted
        insns, using above new function and new flag.

(See attached file: sched_patch1)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sched_patch1
Type: application/octet-stream
Size: 12370 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20031007/435af757/attachment.obj>


More information about the Gcc-patches mailing list