diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2007-09-23 19:11:50 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-09-23 19:11:50 +0000 |
commit | 4923a23068350b1db115d081b89800728f6241b2 (patch) | |
tree | ead7cbfac362b7eca8e308338359cf81337d2120 /gcc/doc | |
parent | 1e1c1dec7aa734ea5fe52ca756df7b222c89320f (diff) | |
download | gcc-4923a23068350b1db115d081b89800728f6241b2.zip gcc-4923a23068350b1db115d081b89800728f6241b2.tar.gz gcc-4923a23068350b1db115d081b89800728f6241b2.tar.bz2 |
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
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index edcb670..34668f2 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -1004,14 +1004,15 @@ a value the default is @code{BITS_PER_WORD}. @end defmac @defmac POINTERS_EXTEND_UNSIGNED -A C expression whose value is greater than zero if pointers that need to be -extended from being @code{POINTER_SIZE} bits wide to @code{Pmode} are to -be zero-extended and zero if they are to be sign-extended. If the value -is less then zero then there must be an "ptr_extend" instruction that -extends a pointer from @code{POINTER_SIZE} to @code{Pmode}. - -You need not define this macro if the @code{POINTER_SIZE} is equal -to the width of @code{Pmode}. +A C expression that determines how pointers should be extended from +@code{ptr_mode} to either @code{Pmode} or @code{word_mode}. It is +greater than zero if pointers should be zero-extended, zero if they +should be sign-extended, and negative if some other sort of conversion +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{ptr_mode}, @code{Pmode} +and @code{word_mode} are all the same width. @end defmac @defmac PROMOTE_MODE (@var{m}, @var{unsignedp}, @var{type}) |