aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-03-05 23:51:25 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-03-05 23:51:25 +0000
commit150c9fe80f20978b8ef676ca020f9cdabad9c36b (patch)
treecf255862b59b9700b7e79328ed7c42f0bd41d502
parentfd917e0dc4d6488074c5c8b84664a941fedf6052 (diff)
downloadgcc-150c9fe80f20978b8ef676ca020f9cdabad9c36b.zip
gcc-150c9fe80f20978b8ef676ca020f9cdabad9c36b.tar.gz
gcc-150c9fe80f20978b8ef676ca020f9cdabad9c36b.tar.bz2
* doc/tm.texi (HARD_REGNO_RENAME_OK): Document.
From-SVN: r78998
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/tm.texi11
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 95ac3d7..78fd63c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-05 Kazu Hirata <kazu@cs.umass.edu>
+
+ * doc/tm.texi (HARD_REGNO_RENAME_OK): Document.
+
2004-03-05 Jason Merrill <jason@redhat.com>
* tree.h (TYPE_HASH): Use TYPE_UID.
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 3ca5aca..1bf6def 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -2072,6 +2072,17 @@ floating registers are not in class @code{GENERAL_REGS}, they will not
be used unless some pattern's constraint asks for one.
@end defmac
+@defmac HARD_REGNO_RENAME_OK (@var{from}, @var{to})
+A C expression that is nonzero if it is OK to rename a hard register
+@var{from} to another hard register @var{to}.
+
+One common use of this macro is to prevent renaming of a register to
+another register that is not saved by a prologue in an interrupt
+handler.
+
+The default is always nonzero.
+@end defmac
+
@defmac MODES_TIEABLE_P (@var{mode1}, @var{mode2})
A C expression that is nonzero if a value of mode
@var{mode1} is accessible in mode @var{mode2} without copying.