diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-01-07 02:26:51 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2001-01-07 02:26:51 +0000 |
commit | f759eb8bf0d98603f2e6930126e517ed995a64a8 (patch) | |
tree | 17de3bb34420626f8eab111aee34a18e3a1f275f /gcc/rtl.texi | |
parent | 0e2e89fd2e117555f71be7a28e41f5f7663c3395 (diff) | |
download | gcc-f759eb8bf0d98603f2e6930126e517ed995a64a8.zip gcc-f759eb8bf0d98603f2e6930126e517ed995a64a8.tar.gz gcc-f759eb8bf0d98603f2e6930126e517ed995a64a8.tar.bz2 |
reload.c (subst_reloads): Take INSN argument.
* reload.c (subst_reloads): Take INSN argument. When
replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
* reload.h (subst_reloads): Adjust prototype.
* reload1.c (reload_as_needed): Pass INSN to subst_reloads.
* jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
present in JUMP_INSNs and copy them to JUMP_LABEL.
* flow.c (find_label_refs, find_basic_blocks_1): Skip
JUMP_INSNs and insns with REG_LABELs that are followed by
JUMP_INSNs with the same REG_LABEL.
* sched-rgn.c (is_cfg_nonregular): Likewise.
* rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
note is available.
* unroll.c (unroll_loop): Look for REG_LABEL notes in
JUMP_INSNs too.
* rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
From-SVN: r38755
Diffstat (limited to 'gcc/rtl.texi')
-rw-r--r-- | gcc/rtl.texi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/rtl.texi b/gcc/rtl.texi index 15911cd..0e9d8c4 100644 --- a/gcc/rtl.texi +++ b/gcc/rtl.texi @@ -1,4 +1,5 @@ -@c Copyright (C) 1988, 89, 92, 94, 97, 1998, 1999, 2000 Free Software Foundation, Inc. +@c Copyright (C) 1988, 1989, 1992, 1994, 1997, 1998, 1999, 2000, 2001 +@c Free Software Foundation, Inc. @c This is part of the GCC manual. @c For copying conditions, see the file gcc.texi. @@ -2752,8 +2753,10 @@ last insns, respectively. @findex REG_LABEL @item REG_LABEL This insn uses @var{op}, a @code{code_label}, but is not a -@code{jump_insn}. The presence of this note allows jump optimization to -be aware that @var{op} is, in fact, being used. +@code{jump_insn}, or it is a @code{jump_insn} that required the label to +be held in a register. The presence of this note allows jump +optimization to be aware that @var{op} is, in fact, being used, and flow +optimization to build an accurate flow graph. @end table The following notes describe attributes of outputs of an insn: |