]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000.c (rs6000_variable_issue): Rename to...
authorAlexander Monakov <amonakov@ispras.ru>
Thu, 14 Jan 2010 11:27:11 +0000 (14:27 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Thu, 14 Jan 2010 11:27:11 +0000 (14:27 +0300)
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.

From-SVN: r155902

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 4341b94100e91deb4dd4747bb86cf6808760d762..09ac3e247732c9086bd2de93db3c0477d3a5c00d 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 906392eebf0aaa155788ba8e4dcb21fa9d097aba..639e71fdc1f0dd5724c108a1a603b85e200ddb6f 100644 (file)
@@ -21353,9 +21353,7 @@ static int load_store_pendulum;
    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
@@ -21394,6 +21392,15 @@ rs6000_variable_issue (FILE *stream ATTRIBUTE_UNUSED,
   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.  */