diff options
author | Alexander Monakov <amonakov@ispras.ru> | 2010-01-14 14:27:11 +0300 |
---|---|---|
committer | Alexander Monakov <amonakov@gcc.gnu.org> | 2010-01-14 14:27:11 +0300 |
commit | dd6739e322c93ba685f80a89eab00c82b68f7976 (patch) | |
tree | 73b8bbf42f259b3b5ea40bf76dfd5990357d2537 | |
parent | 7898b93b5770c3881bf769a3cec86cc3e0d37fda (diff) | |
download | gcc-dd6739e322c93ba685f80a89eab00c82b68f7976.zip gcc-dd6739e322c93ba685f80a89eab00c82b68f7976.tar.gz gcc-dd6739e322c93ba685f80a89eab00c82b68f7976.tar.bz2 |
rs6000.c (rs6000_variable_issue): Rename to...
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 13 |
2 files changed, 16 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4341b94..09ac3e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 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. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 906392e..639e71f 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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. */ |