aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/tm.texi
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2001-07-23 16:00:06 +0000
committerAndrew Haley <aph@gcc.gnu.org>2001-07-23 16:00:06 +0000
commit6e7b03e1f570004801b93a701f38ca76e8609375 (patch)
treeef220d1f1710bdd39aaddf1da18b1709fc794695 /gcc/doc/tm.texi
parent0dd94abd70d7b14b56d60eac7333cdd9f028d278 (diff)
downloadgcc-6e7b03e1f570004801b93a701f38ca76e8609375.zip
gcc-6e7b03e1f570004801b93a701f38ca76e8609375.tar.gz
gcc-6e7b03e1f570004801b93a701f38ca76e8609375.tar.bz2
tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
2001-07-13 Andrew Haley <aph@redhat.com> * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro. * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro. * config/sh/sh.c (sh_can_redirect_branch): New function. * config/sh/sh-protos.h (sh_can_redirect_branch): Declare. * reorg.c (steal_delay_list_from_target): Use MD_CAN_REDIRECT_BRANCH to see if redirection is possible. From-SVN: r44269
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r--gcc/doc/tm.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index b5d8ba9..81a5582 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -8681,4 +8681,15 @@ ignored. This function should return the result of the call to the
built-in function.
@end deftypefn
+@findex MD_CAN_REDIRECT_BRANCH
+@item MD_CAN_REDIRECT_BRANCH(@var{branch1}, @var{branch2})
+
+Take a branch insn in @var{branch1} and a another in @var{branch2}.
+Return true if redirecting @var{branch1} to the destination of
+@var{branch2} is possible.
+
+On some targets, branches may have a limited range. Optimizing the
+filling of delay slots can result in branches being redirected, and this
+may in turn cause a branch offset to overflow.
+
@end table