OSDN Git Service

PR rtl-optimization/42389
authorabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jan 2010 11:07:39 +0000 (11:07 +0000)
committerabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jan 2010 11:07:39 +0000 (11:07 +0000)
commitabb9c563a3f38041f2907a9c8c0ec14e71a34039
tree417364ab83b0b9a615900c90101e61adef6bf7cb
parent61e213e2de2a03df34ab718451239282eac431f8
    PR rtl-optimization/42389
        * sel-sched.c (advance_one_cycle): Set FENCE_ISSUE_MORE
        to can_issue_more.
        (advance_state_on_fence): Likewise.
        (sel_target_adjust_priority): Print debug output only when
        sched_verbose >= 4, not 2.
        (get_expr_cost): Do not issue all unique insns on the next cycle.
        (fill_insns): Initialize can_issue_more from the value saved
        with the fence.
        * sel-sched-ir.c (flist_add): New parameter issue_more.
        Init FENCE_ISSUE_MORE with it.
        (merge_fences): Likewise.
        (init_fences): Update call to flist_add.
        (add_to_fences, add_clean_fence_to_fences)
        (add_dirty_fence_to_fences): Likewise.
        (move_fence_to_fences): Update call to merge_fences.
        (invoke_reorder_hooks): Do not reset can_issue_more on insns from
        sched groups.
        * sel-sched-ir.h (struct _fence): New field issue_more.
        (FENCE_ISSUE_MORE): New accessor macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155895 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/sel-sched-ir.c
gcc/sel-sched-ir.h
gcc/sel-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr42389.c [new file with mode: 0644]