2010-01-14 Alexander Monakov <amonakov@ispras.ru>
+ * config/rs6000/rs6000.c (rs6000_variable_issue): Rename to...
+ (rs6000_variable_issue_1): this. Use...
+ (rs6000_variable_issue): here. Reimplement. Print debug info.
+
+2010-01-14 Alexander Monakov <amonakov@ispras.ru>
+
* sel-sched-ir.c (sel_restore_other_notes): Rename to sel_restore_notes.
Update all callers. Call reemit_notes for all insns.
instructions to issue in this cycle. */
static int
-rs6000_variable_issue (FILE *stream ATTRIBUTE_UNUSED,
- int verbose ATTRIBUTE_UNUSED,
- rtx insn, int more)
+rs6000_variable_issue_1 (rtx insn, int more)
{
last_scheduled_insn = insn;
if (GET_CODE (PATTERN (insn)) == USE
return cached_can_issue_more;
}
+static int
+rs6000_variable_issue (FILE *stream, int verbose, rtx insn, int more)
+{
+ int r = rs6000_variable_issue_1 (insn, more);
+ if (verbose)
+ fprintf (stream, "// rs6000_variable_issue (more = %d) = %d\n", more, r);
+ return r;
+}
+
/* Adjust the cost of a scheduling dependency. Return the new cost of
a dependency LINK or INSN on DEP_INSN. COST is the current cost. */