This is the mail archive of the gcc-cvs@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]

r132718 - in /branches/sel-sched-branch/gcc: Ch...


Author: abel
Date: Wed Feb 27 14:59:36 2008
New Revision: 132718

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132718
Log:
        Implement an iterator over hard register sets.
        * hard-reg-set.h (struct hard_reg_set_iterator): New.
        (hard_reg_set_iter_init, hard_reg_set_iter_set,
        hard_reg_set_iter_next): New functions.
        (EXECUTE_IF_SET_IN_HARD_REG_SET): New macro.
        * sel-sched.c (mark_unavailable_hard_regs): Use EXECUTE_IF_SET_IN_HARD_REG_SET.
        (choose_best_reg_1): Likewise.

        * sel-sched-ir.c (merge_expr_data): Change a bool parameter join_point_p
        to insn_t split_point.  When changing a speculative expression, record
        this in a history.
        (merge_expr): Also change a parameter.
        (av_set_union_and_clear): New parameter insn.  Pass it to merge_expr.
        Update all callers.
        (av_set_union_and_live): Likewise.
        * sel-sched-ir.h (_eligible_successor_edge_p): Fix assert.  Update
        declarations.


Modified:
    branches/sel-sched-branch/gcc/ChangeLog.sel-sched
    branches/sel-sched-branch/gcc/hard-reg-set.h
    branches/sel-sched-branch/gcc/sel-sched-ir.c
    branches/sel-sched-branch/gcc/sel-sched-ir.h
    branches/sel-sched-branch/gcc/sel-sched.c


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