]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Fix return...
authorJoern Rennecke <joern.rennecke@embecosm.com>
Tue, 16 Feb 2010 19:04:15 +0000 (19:04 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 16 Feb 2010 19:04:15 +0000 (19:04 +0000)
* tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC):
Fix return type.  Fix argument type.  Explain meaning of return value.

From-SVN: r156814

gcc/ChangeLog
gcc/doc/tm.texi

index eaa030f49ebabf2fd696e96a0915a51054097988..efb042d37fa4f9b9cd886f4f81d2930758c464de 100644 (file)
@@ -1,3 +1,8 @@
+2010-02-16  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC):
+       Fix return type.  Fix argument type.  Explain meaning of return value.
+
 2010-02-16  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/41043
index 4de6e2dd2cdb0fe0b2c5945b10a61abf3a6fc0f3..7d659547baa180f13c545c46fa3f6ac1f5d86175 100644 (file)
@@ -6667,13 +6667,15 @@ a pattern for a branchy check corresponding to a simple check denoted by
 @var{insn} should be generated.  In this case @var{label} can't be null.
 @end deftypefn
 
-@deftypefn {Target Hook} int TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC (rtx @var{insn})
+@deftypefn {Target Hook} bool TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC (const_rtx @var{insn})
 This hook is used as a workaround for
 @samp{TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD} not being
 called on the first instruction of the ready list.  The hook is used to
-discard speculative instruction that stand first in the ready list from
-being scheduled on the current cycle.  For non-speculative instructions,
-the hook should always return nonzero.  For example, in the ia64 backend
+discard speculative instructions that stand first in the ready list from
+being scheduled on the current cycle.  If the hook returns @code{false},
+@var{insn} will not be chosen to be issued.
+For non-speculative instructions,
+the hook should always return @code{true}.  For example, in the ia64 backend
 the hook is used to cancel data speculative insns when the ALAT table
 is nearly full.
 @end deftypefn