Commit 055177dc by Nick Clifton Committed by Nick Clifton

Docuement that CONSITIONAL_REGISTER_USAGE can modify reg_names.

From-SVN: r34239
parent 9ef07cf1
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> 2000-05-28 Richard Henderson <rth@cygnus.com>
* regclass.c (record_operand_costs): Protect reg_changes_size * regclass.c (record_operand_costs): Protect reg_changes_size
...@@ -1406,14 +1406,15 @@ preserve the entire contents of a register across a call. ...@@ -1406,14 +1406,15 @@ preserve the entire contents of a register across a call.
@findex fixed_regs @findex fixed_regs
@findex call_used_regs @findex call_used_regs
@item CONDITIONAL_REGISTER_USAGE @item CONDITIONAL_REGISTER_USAGE
Zero or more C statements that may conditionally modify four variables Zero or more C statements that may conditionally modify five variables
@code{fixed_regs}, @code{call_used_regs}, @code{global_regs} @code{fixed_regs}, @code{call_used_regs}, @code{global_regs},
(these three are of type @code{char []}) and @code{reg_class_contents} (these three are of type @code{char []}), @code{reg_names} (of type
(of type @code{HARD_REG_SET}). @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} Before the macro is called @code{fixed_regs}, @code{call_used_regs}
and @code{reg_class_contents} have been initialized from @code{reg_class_contents} and @code{reg_names} have been initialized
@code{FIXED_REGISTERS}, @code{CALL_USED_REGISTERS} and from @code{FIXED_REGISTERS}, @code{CALL_USED_REGISTERS},
@code{REG_CLASS_CONTENTS}, respectively, @code{REG_CLASS_CONTENTS} and @code{REGISTER_NAMES}, respectively,
@code{global_regs} has been cleared, and any @samp{-ffixed-@var{reg}}, @code{global_regs} has been cleared, and any @samp{-ffixed-@var{reg}},
@samp{-fcall-used-@var{reg}} and @samp{-fcall-saved-@var{reg}} command @samp{-fcall-used-@var{reg}} and @samp{-fcall-saved-@var{reg}} command
options have been applied. options have been applied.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment