aboutsummaryrefslogtreecommitdiff
path: root/gcc/tm.texi
diff options
context:
space:
mode:
authorClinton Popetz <cpopetz@cygnus.com>2000-05-28 23:40:20 +0000
committerClinton Popetz <cpopetz@gcc.gnu.org>2000-05-28 19:40:20 -0400
commit1270c2550479c5b8d66a8879c7948dd694a3cc6e (patch)
tree357926448ce8e064b4e214f3ed51f745241abf6a /gcc/tm.texi
parentbb078eb403f8be5f3976facaedf1c34e8a0b2f77 (diff)
downloadgcc-1270c2550479c5b8d66a8879c7948dd694a3cc6e.zip
gcc-1270c2550479c5b8d66a8879c7948dd694a3cc6e.tar.gz
gcc-1270c2550479c5b8d66a8879c7948dd694a3cc6e.tar.bz2
lcm.c (make_preds_opaque): Fix comment.
* lcm.c (make_preds_opaque): Fix comment. (optimize_mode_switching): Use NORMAL_MODE instead of MODE_USES_IN_EXIT_BLOCK. Change leftover instance of FP_MODE_NONE to no_mode. Rename MODE_AT_ENTRY to NORMAL_MODE. Handle insertions before an existing NOTE_INSN_BASIC_BLOCK. * tm.texi (OPTIMIZE_MODE_SWITCHING): Refer to NORMAL_MODE. (MODE_USES_IN_EXIT_BLOCK): Delete. (MODE_AT_ENTRY) Rename to NORMAL_MODE. * sh.h (MODE_USES_IN_EXIT_BLOCK): Delete. (MODE_AT_ENTRY): Rename to NORMAL_MODE. (MODE_NEEDED): Don't look for USE. (EPILOGUE_USES): Define. From-SVN: r34243
Diffstat (limited to 'gcc/tm.texi')
-rw-r--r--gcc/tm.texi17
1 files changed, 4 insertions, 13 deletions
diff --git a/gcc/tm.texi b/gcc/tm.texi
index 766ea57..3b3f4b0 100644
--- a/gcc/tm.texi
+++ b/gcc/tm.texi
@@ -7275,7 +7275,7 @@ return non-zero for any @var{entity} that that needs mode-switching.
If you define this macro, you also have to define
@code{NUM_MODES_FOR_MODE_SWITCHING}, @code{MODE_NEEDED},
@code{MODE_PRIORITY_TO_MODE} and @code{EMIT_MODE_SET}.
-@code{MODE_AT_ENTRY} and @code{MODE_USES_IN_EXIT_BLOCK} are optional.
+@code{NORMAL_MODE} is optional.
@findex NUM_MODES_FOR_MODE_SWITCHING
@item NUM_MODES_FOR_MODE_SWITCHING
@@ -7290,15 +7290,6 @@ In macros that take mode arguments / yield a mode result, modes are
represented as numbers 0 .. N - 1. N is used to specify that no mode
switch is needed / supplied.
-@findex MODE_USES_IN_EXIT_BLOCK
-@item MODE_USES_IN_EXIT_BLOCK
-If this macro is defined, it is called for each exit block when mode switching
-optimization is performed. Its return value should be the pattern of an insn,
-or a sequence of insns. It is emitted before the return insn / use insns at
-the end of the exit block.
-
-This is done before insns are examined for their need of any mode switching.
-
@findex MODE_NEEDED
@item MODE_NEEDED (@var{entity}, @var{insn})
@var{entity} is an integer specifying a mode-switched entity. If
@@ -7307,11 +7298,11 @@ return an integer value not larger than the corresponding element in
NUM_MODES_FOR_MODE_SWITCHING, to denote the mode that @var{entity} must
be switched into prior to the execution of INSN.
-@findex MODE_AT_ENTRY
-@item MODE_AT_ENTRY (@var{entity})
+@findex NORMAL_MODE
+@item NORMAL_MODE (@var{entity})
If this macro is defined, it is evaluated for every @var{entity} that needs
mode switching. It should evaluate to an integer, which is a mode that
-@var{entity} is assumed to be switched to at function entry.
+@var{entity} is assumed to be switched to at function entry and exit.
@findex MODE_PRIORITY_TO_MODE
@item MODE_PRIORITY_TO_MODE (@var{entity}, @var{n})