diff options
author | David S. Miller <davem@redhat.com> | 2002-05-10 05:50:11 -0700 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2002-05-10 05:50:11 -0700 |
commit | cf40ea15f61a4535859ca50195eb58a63e3de1ba (patch) | |
tree | b339206e3fbe7651c9692cd72f387b4671880f3f /gcc/doc/rtl.texi | |
parent | 1a499b9250dfd05a03485d281e873b437d67bc9e (diff) | |
download | gcc-cf40ea15f61a4535859ca50195eb58a63e3de1ba.zip gcc-cf40ea15f61a4535859ca50195eb58a63e3de1ba.tar.gz gcc-cf40ea15f61a4535859ca50195eb58a63e3de1ba.tar.bz2 |
rtl.h (struct rtx_def): Document unchanging and in_struct flags more accurately.
2002-05-09 David S. Miller <davem@redhat.com>
* rtl.h (struct rtx_def): Document unchanging and in_struct flags
more accurately.
(INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
comment.
(INSN_FROM_TARGET_P): Valid also for CALL_INSN.
* doc/rtl.texi: Document these macros more accurately.
* recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
JUMP_INSNs and CALL_INSNs.
* resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
or INSN_FROM_TARGET_P if the code is appropriate.
From-SVN: r53360
Diffstat (limited to 'gcc/doc/rtl.texi')
-rw-r--r-- | gcc/doc/rtl.texi | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index f537f39..23994fd 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -395,15 +395,13 @@ indicates that the insn represents a call to a const or pure function. Stored in the @code{unchanging} field and printed as @samp{/u}. @findex INSN_ANNULLED_BRANCH_P -@cindex @code{insn} and @samp{/u} @cindex @code{jump_insn} and @samp{/u} -@cindex @code{unchanging}, in @code{insn} and @code{jump_insn} +@cindex @code{call_insn} and @samp{/u} +@cindex @code{unchanging}, in @code{jump_insn} and @code{call_insn} @item INSN_ANNULLED_BRANCH_P (@var{x}) -In an @code{insn} or @code{jump_insn} in the delay slot of a branch insn, -indicates that an -annulling branch should be used. See the discussion under -@code{sequence} below. Stored in the @code{unchanging} field and printed -as @samp{/u}. +In a @code{jump_insn} or @code{call_insn} indicates that the branch is +an annulling one. See the discussion under @code{sequence} below. +Stored in the @code{unchanging} field and printed as @samp{/u}. @findex INSN_DEAD_CODE_P @cindex @code{insn} and @samp{/s} @@ -430,10 +428,11 @@ nonzero if the insn has been deleted. Stored in the @findex INSN_FROM_TARGET_P @cindex @code{insn} and @samp{/s} @cindex @code{jump_insn} and @samp{/s} -@cindex @code{in_struct}, in @code{insn} and @code{jump_insn} +@cindex @code{call_insn} and @samp{/s} +@cindex @code{in_struct}, in @code{insn} and @code{jump_insn} and @code{call_insn} @item INSN_FROM_TARGET_P (@var{x}) -In an @code{insn} or @code{jump_insn} in a delay slot of a branch, -indicates that the insn +In an @code{insn} or @code{jump_insn} or @code{call_insn} in a delay +slot of a branch, indicates that the insn is from the target of the branch. If the branch insn has @code{INSN_ANNULLED_BRANCH_P} set, this insn will only be executed if the branch is taken. For annulled branches with |