sched-deps.c (102780) | sched-deps.c (103445) |
---|---|
1/* Instruction scheduling pass. This file computes dependencies between 2 instructions. 3 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 4 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 5 Contributed by Michael Tiemann (tiemann@cygnus.com) Enhanced by, 6 and currently maintained by, Jim Wilson (wilson@cygnus.com) 7 8This file is part of GCC. --- 1104 unchanged lines hidden (view full) --- 1113 add_dependence_list (insn, reg_last->sets, 0); 1114 add_dependence_list (insn, reg_last->clobbers, 0); 1115 reg_last->uses_length++; 1116 reg_last->uses = alloc_INSN_LIST (insn, reg_last->uses); 1117 }); 1118 EXECUTE_IF_SET_IN_REG_SET (reg_pending_clobbers, 0, i, 1119 { 1120 struct deps_reg *reg_last = &deps->reg_last[i]; | 1/* Instruction scheduling pass. This file computes dependencies between 2 instructions. 3 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 4 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 5 Contributed by Michael Tiemann (tiemann@cygnus.com) Enhanced by, 6 and currently maintained by, Jim Wilson (wilson@cygnus.com) 7 8This file is part of GCC. --- 1104 unchanged lines hidden (view full) --- 1113 add_dependence_list (insn, reg_last->sets, 0); 1114 add_dependence_list (insn, reg_last->clobbers, 0); 1115 reg_last->uses_length++; 1116 reg_last->uses = alloc_INSN_LIST (insn, reg_last->uses); 1117 }); 1118 EXECUTE_IF_SET_IN_REG_SET (reg_pending_clobbers, 0, i, 1119 { 1120 struct deps_reg *reg_last = &deps->reg_last[i]; |
1121 add_dependence_list (insn, reg_last->sets, REG_DEP_OUTPUT); 1122 add_dependence_list (insn, reg_last->uses, REG_DEP_ANTI); | |
1123 if (reg_last->uses_length > MAX_PENDING_LIST_LENGTH 1124 || reg_last->clobbers_length > MAX_PENDING_LIST_LENGTH) 1125 { 1126 add_dependence_list_and_free (insn, ®_last->sets, 1127 REG_DEP_OUTPUT); 1128 add_dependence_list_and_free (insn, ®_last->uses, 1129 REG_DEP_ANTI); 1130 add_dependence_list_and_free (insn, ®_last->clobbers, 1131 REG_DEP_OUTPUT); | 1121 if (reg_last->uses_length > MAX_PENDING_LIST_LENGTH 1122 || reg_last->clobbers_length > MAX_PENDING_LIST_LENGTH) 1123 { 1124 add_dependence_list_and_free (insn, ®_last->sets, 1125 REG_DEP_OUTPUT); 1126 add_dependence_list_and_free (insn, ®_last->uses, 1127 REG_DEP_ANTI); 1128 add_dependence_list_and_free (insn, ®_last->clobbers, 1129 REG_DEP_OUTPUT); |
1130 reg_last->sets = alloc_INSN_LIST (insn, reg_last->sets); |
|
1132 reg_last->clobbers_length = 0; 1133 reg_last->uses_length = 0; 1134 } 1135 else 1136 { 1137 add_dependence_list (insn, reg_last->sets, REG_DEP_OUTPUT); 1138 add_dependence_list (insn, reg_last->uses, REG_DEP_ANTI); 1139 } --- 463 unchanged lines hidden --- | 1131 reg_last->clobbers_length = 0; 1132 reg_last->uses_length = 0; 1133 } 1134 else 1135 { 1136 add_dependence_list (insn, reg_last->sets, REG_DEP_OUTPUT); 1137 add_dependence_list (insn, reg_last->uses, REG_DEP_ANTI); 1138 } --- 463 unchanged lines hidden --- |