Commit 4923a230 by Richard Sandiford Committed by Richard Sandiford

tm.texi (POINTERS_EXTEND_UNSIGNED): Document extensions to word_mode as well as Pmode.

gcc/
	* doc/tm.texi (POINTERS_EXTEND_UNSIGNED): Document extensions to
	word_mode as well as Pmode.

From-SVN: r128698
parent 1e1c1dec
2007-09-23 Richard Sandiford <rsandifo@nildram.co.uk> 2007-09-23 Richard Sandiford <rsandifo@nildram.co.uk>
* doc/tm.texi (POINTERS_EXTEND_UNSIGNED): Document extensions to
word_mode as well as Pmode.
2007-09-23 Richard Sandiford <rsandifo@nildram.co.uk>
* function.c (assign_parm_setup_block): Explicitly convert BLKmode * function.c (assign_parm_setup_block): Explicitly convert BLKmode
parameters from word_mode to the subword type if such a truncation parameters from word_mode to the subword type if such a truncation
is not a no-op. is not a no-op.
...@@ -1004,14 +1004,15 @@ a value the default is @code{BITS_PER_WORD}. ...@@ -1004,14 +1004,15 @@ a value the default is @code{BITS_PER_WORD}.
@end defmac @end defmac
@defmac POINTERS_EXTEND_UNSIGNED @defmac POINTERS_EXTEND_UNSIGNED
A C expression whose value is greater than zero if pointers that need to be A C expression that determines how pointers should be extended from
extended from being @code{POINTER_SIZE} bits wide to @code{Pmode} are to @code{ptr_mode} to either @code{Pmode} or @code{word_mode}. It is
be zero-extended and zero if they are to be sign-extended. If the value greater than zero if pointers should be zero-extended, zero if they
is less then zero then there must be an "ptr_extend" instruction that should be sign-extended, and negative if some other sort of conversion
extends a pointer from @code{POINTER_SIZE} to @code{Pmode}. is needed. In the last case, the extension is done by the target's
@code{ptr_extend} instruction.
You need not define this macro if the @code{POINTER_SIZE} is equal
to the width of @code{Pmode}. You need not define this macro if the @code{ptr_mode}, @code{Pmode}
and @code{word_mode} are all the same width.
@end defmac @end defmac
@defmac PROMOTE_MODE (@var{m}, @var{unsignedp}, @var{type}) @defmac PROMOTE_MODE (@var{m}, @var{unsignedp}, @var{type})
......
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