diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2010-02-16 19:04:15 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2010-02-16 19:04:15 +0000 |
commit | 5498b6d2bf9a195307c77ce6b79a0d5b4ba16307 (patch) | |
tree | d51c9e3792baf50afa4319d887fad6d4633ab2f7 /gcc/doc/tm.texi | |
parent | b09bae6856c0869e7e763e5a13154210bb5f54bc (diff) | |
download | gcc-5498b6d2bf9a195307c77ce6b79a0d5b4ba16307.zip gcc-5498b6d2bf9a195307c77ce6b79a0d5b4ba16307.tar.gz gcc-5498b6d2bf9a195307c77ce6b79a0d5b4ba16307.tar.bz2 |
tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Fix return type.
* 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
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 4de6e2d..7d65954 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -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 |