From a3a64825006605c8428533670ec28c73f8e3498b Mon Sep 17 00:00:00 2001 From: law Date: Wed, 30 Sep 1998 17:21:12 +0000 Subject: * regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro. * caller-save.c (init_caller_save): Use it. * tm.texi: Document HARD_REGNO_CALLER_SAVE_MODE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22682 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tm.texi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gcc/tm.texi') diff --git a/gcc/tm.texi b/gcc/tm.texi index ea3e8b3110a..a42eb67a619 100644 --- a/gcc/tm.texi +++ b/gcc/tm.texi @@ -3174,6 +3174,14 @@ this is worth doing, and 0 otherwise. If you don't define this macro, a default is used which is good on most machines: @code{4 * @var{calls} < @var{refs}}. + +@findex HARD_REGNO_CALLER_SAVE_MODE +@item HARD_REGNO_CALLER_SAVE_MODE (@var{regno}, @var{nregs}) +A C expression specifying which mode is required for saving @var{nregs} +of a pseudo-register in call-clobbered hard register @var{regno}. If +@var{regno} is unsuitable for caller save, @code{VOIDmode} should be +returned. For most machines this macro need not be defined since GCC +will select the smallest suitable mode. @end table @node Function Entry -- cgit v1.2.1