aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorTrevor Smigiel <Trevor_Smigiel@playstation.sony.com>2007-09-10 13:16:38 +0000
committerRevital Eres <revitale@gcc.gnu.org>2007-09-10 13:16:38 +0000
commit67186a97fee72340e779378f7059d9b71d0f7912 (patch)
tree6a134dc64a3873eb40dadbaa25d0e75243c9a879 /gcc/doc
parent77340500f261c833adb77bc8ad37be5d5789310e (diff)
downloadgcc-67186a97fee72340e779378f7059d9b71d0f7912.zip
gcc-67186a97fee72340e779378f7059d9b71d0f7912.tar.gz
gcc-67186a97fee72340e779378f7059d9b71d0f7912.tar.bz2
New target hook to calculate MII
Co-Authored-By: Revital Eres <eres@il.ibm.com> From-SVN: r128343
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/tm.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 4f8c029..deb3abc 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -6342,6 +6342,15 @@ an additional structure @var{spec_info} should be filled by the target.
The structure describes speculation types that can be used in the scheduler.
@end deftypefn
+@deftypefn {Target Hook} int TARGET_SCHED_SMS_RES_MII (struct ddg *@var{g})
+This hook is called by the swing modulo scheduler to calculate a
+resource-based lower bound which is based on the resources available in
+the machine and the resources required by each instruction. The target
+backend can use @var{g} to calculate such bound. A very simple lower
+bound will be used in case this hook is not implemented: the total number
+of instructions divided by the issue rate.
+@end deftypefn
+
@node Sections
@section Dividing the Output into Sections (Texts, Data, @dots{})
@c the above section title is WAY too long. maybe cut the part between