aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.