diff options
author | revitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-10 13:16:38 +0000 |
---|---|---|
committer | revitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-10 13:16:38 +0000 |
commit | d52fd16a6bacb2e83fcd5cb1ea4c6e76dc74971e (patch) | |
tree | 6a134dc64a3873eb40dadbaa25d0e75243c9a879 /gcc/modulo-sched.c | |
parent | b2ed6df1be52def6627f0609626922b532738e90 (diff) | |
download | gcc-d52fd16a6bacb2e83fcd5cb1ea4c6e76dc74971e.tar.gz |
New target hook to calculate MII
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128343 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/modulo-sched.c')
-rw-r--r-- | gcc/modulo-sched.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c index 075fe2eae9c..9a806c106e9 100644 --- a/gcc/modulo-sched.c +++ b/gcc/modulo-sched.c @@ -374,6 +374,9 @@ const_iteration_count (rtx count_reg, basic_block pre_header, static int res_MII (ddg_ptr g) { + if (targetm.sched.sms_res_mii) + return targetm.sched.sms_res_mii (g); + return (g->num_nodes / issue_rate); } |