summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-28 21:08:51 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-28 21:08:51 +0000
commitde151bb111bbf09633c3180e529a0f7ff1a35471 (patch)
tree76fbc99336e386847aed8f961fc763eb57eef60f
parent2c100e2d442d2d4bc0123cf763232ee25bb02448 (diff)
downloadppe42-gcc-de151bb111bbf09633c3180e529a0f7ff1a35471.tar.gz
ppe42-gcc-de151bb111bbf09633c3180e529a0f7ff1a35471.zip
Docuement that CONSITIONAL_REGISTER_USAGE can modify reg_names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34239 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tm.texi15
2 files changed, 13 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ba57538fbb6..cd8bd1dd0fd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-28 Nick Clifton <nickc@cygnus.com>
+
+ * tm.texi (CONDITIONAL_REGISTER_USAGE): Document that it can
+ modify reg_names.
+
2000-05-28 Richard Henderson <rth@cygnus.com>
* regclass.c (record_operand_costs): Protect reg_changes_size
diff --git a/gcc/tm.texi b/gcc/tm.texi
index 80df009ba0b..766ea577b3b 100644
--- a/gcc/tm.texi
+++ b/gcc/tm.texi
@@ -1406,14 +1406,15 @@ preserve the entire contents of a register across a call.
@findex fixed_regs
@findex call_used_regs
@item CONDITIONAL_REGISTER_USAGE
-Zero or more C statements that may conditionally modify four variables
-@code{fixed_regs}, @code{call_used_regs}, @code{global_regs}
-(these three are of type @code{char []}) and @code{reg_class_contents}
-(of type @code{HARD_REG_SET}).
+Zero or more C statements that may conditionally modify five variables
+@code{fixed_regs}, @code{call_used_regs}, @code{global_regs},
+(these three are of type @code{char []}), @code{reg_names} (of type
+@code{const char * []}) and @code{reg_class_contents} (of type
+@code{HARD_REG_SET}).
Before the macro is called @code{fixed_regs}, @code{call_used_regs}
-and @code{reg_class_contents} have been initialized from
-@code{FIXED_REGISTERS}, @code{CALL_USED_REGISTERS} and
-@code{REG_CLASS_CONTENTS}, respectively,
+@code{reg_class_contents} and @code{reg_names} have been initialized
+from @code{FIXED_REGISTERS}, @code{CALL_USED_REGISTERS},
+@code{REG_CLASS_CONTENTS} and @code{REGISTER_NAMES}, respectively,
@code{global_regs} has been cleared, and any @samp{-ffixed-@var{reg}},
@samp{-fcall-used-@var{reg}} and @samp{-fcall-saved-@var{reg}} command
options have been applied.
OpenPOWER on IntegriCloud