summaryrefslogtreecommitdiff
path: root/gcc/tm.texi
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-02 11:53:24 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-02 11:53:24 +0000
commit3469a3e258443d486dd4b8c48e701c1097fd08f7 (patch)
treef6d56239789abb75a54e7c041d4876cd372838ec /gcc/tm.texi
parent8e97a0301d2803d6ceaeb7bb0ac8a338233e1551 (diff)
downloadgcc-3469a3e258443d486dd4b8c48e701c1097fd08f7.tar.gz
* expr.h (STACK_SIZE_MODE): New macro.
* explow.c (allocate_dynamic_stack_space): Use it for mode of allocate_stack pattern increment operand. * tm.texi (STACK_SAVEAREA_MODE, STACK_SIZE_MODE): Document. * md.texi (stack_save_block, ...): Reflect use of macro. * rs6000.h (PROMOTE_MODE): Always promote to word_mode. (PROMOTE_FUNCTION_ARGS): Define. (PROMOTE_FUNCTION_RETURN): Define. (FUNCTION_VALUE): Promote to word_mode if smaller. Convert to gen_rtx_FOO. * rs6000.md (call_indirect): Store doubleword in 64-bit mode. Convert to gen_rtx_FOO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20893 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tm.texi')
-rw-r--r--gcc/tm.texi19
1 files changed, 15 insertions, 4 deletions
diff --git a/gcc/tm.texi b/gcc/tm.texi
index 78cc6ce496c..cfff3a0e63c 100644
--- a/gcc/tm.texi
+++ b/gcc/tm.texi
@@ -982,16 +982,27 @@ appropriate sizes. If this macro is undefined, @code{GET_MODE_BITSIZE
@findex STACK_SAVEAREA_MODE
@item STACK_SAVEAREA_MODE (@var{save_level})
If defined, an expression of type @code{enum machine_mode} that
-specifies the mode of a @code{save_stack_@var{level}} named pattern
-(@pxref{Standard Names}). @var{save_level} is one of @code{SAVE_BLOCK},
-@code{SAVE_FUNCTION}, or @code{SAVE_NONLOCAL} and selects which of the
-three named patterns is having its mode specified.
+specifies the mode of the save area operand of a
+@code{save_stack_@var{level}} named pattern (@pxref{Standard Names}).
+@var{save_level} is one of @code{SAVE_BLOCK}, @code{SAVE_FUNCTION}, or
+@code{SAVE_NONLOCAL} and selects which of the three named patterns is
+having its mode specified.
You need not define this macro if it always returns @code{Pmode}. You
would most commonly define this macro if the
@code{save_stack_@var{level}} patterns need to support both a 32- and a
64-bit mode.
+@findex STACK_SIZE_MODE
+@item STACK_SIZE_MODE
+If defined, an expression of type @code{enum machine_mode} that
+specifies the mode of the size increment operand of an
+@code{allocate_stack} named pattern (@pxref{Standard Names}).
+
+You need not define this macro if it always returns @code{word_mode}.
+You would most commonly define this macro if the @code{allocate_stack}
+pattern needs to support both a 32- and a 64-bit mode.
+
@findex CHECK_FLOAT_VALUE
@item CHECK_FLOAT_VALUE (@var{mode}, @var{value}, @var{overflow})
A C statement to validate the value @var{value} (of type