diff options
Diffstat (limited to 'gcc/doc/md.texi')
-rw-r--r-- | gcc/doc/md.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 115de4a2aba..54ad659cb5b 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -2920,10 +2920,7 @@ If a scratch register is required to move an object to or from memory, it can be allocated using @code{gen_reg_rtx} prior to life analysis. If there are cases which need scratch registers during or after reload, -you must define @code{SECONDARY_INPUT_RELOAD_CLASS} and/or -@code{SECONDARY_OUTPUT_RELOAD_CLASS} to detect them, and provide -patterns @samp{reload_in@var{m}} or @samp{reload_out@var{m}} to handle -them. @xref{Register Classes}. +you must provide an appropriate secondary_reload target hook. @findex no_new_pseudos The global variable @code{no_new_pseudos} can be used to determine if it @@ -2953,6 +2950,9 @@ reload into a floating point register. @cindex @code{reload_out} instruction pattern @item @samp{reload_in@var{m}} @itemx @samp{reload_out@var{m}} +These named patterns have been obsoleted by the target hook +@code{secondary_reload}. + Like @samp{mov@var{m}}, but used when a scratch register is required to move between operand 0 and operand 1. Operand 2 describes the scratch register. See the discussion of the @code{SECONDARY_RELOAD_CLASS} |