X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fdoc%2Ftm.texi;h=fd2b37055617f994c8c2671010c2915cb1d2da74;hp=76a7b7eae5477c0875d609ef725a913b883c8339;hb=7a0ad664fcc900952a98c2a8520a76299e8fa481;hpb=fd0f951e714dbf7ec7cdea436613664acf30bcfc diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 76a7b7eae54..fd2b3705561 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -5666,23 +5666,23 @@ insns with indexes greater than given index. @deftypefn {Target Hook} bool IS_COSTLY_DEPENDENCE (rtx @var{insn1}, rtx @var{insn2}, rtx @var{dep_link}, int @var{dep_cost}, int @var{distance}) This hook is used to define which dependences are considered costly by -the target, so costly that it is not advisable to schedule the insns that +the target, so costly that it is not advisable to schedule the insns that are involved in the dependence too close to one another. The parameters -to this hook are as follows: The second parameter @var{insn2} is dependent -upon the first parameter @var{insn1}. The dependence between @var{insn1} -and @var{insn2} is represented by the third parameter @var{dep_link}. The -fourth parameter @var{cost} is the cost of the dependence, and the fifth -parameter @var{distance} is the distance in cycles between the two insns. +to this hook are as follows: The second parameter @var{insn2} is dependent +upon the first parameter @var{insn1}. The dependence between @var{insn1} +and @var{insn2} is represented by the third parameter @var{dep_link}. The +fourth parameter @var{cost} is the cost of the dependence, and the fifth +parameter @var{distance} is the distance in cycles between the two insns. The hook returns @code{true} if considering the distance between the two insns the dependence between them is considered costly by the target, and @code{false} otherwise. Defining this hook can be useful in multiple-issue out-of-order machines, -where (a) it's practically hopeless to predict the actual data/resource +where (a) it's practically hopeless to predict the actual data/resource delays, however: (b) there's a better chance to predict the actual grouping -that will be formed, and (c) correctly emulating the grouping can be very +that will be formed, and (c) correctly emulating the grouping can be very important. In such targets one may want to allow issuing dependent insns -closer to one another - i.e, closer than the dependence distance; however, +closer to one another - i.e, closer than the dependence distance; however, not in cases of "costly dependences", which this hooks allows to define. @end deftypefn