diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2011-07-08 16:21:58 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2011-07-08 16:21:58 +0000 |
commit | c0a6a1eff605142d06a4d873fb5074cb9b61c77e (patch) | |
tree | 663775dd7f56c1e0bd6ec666857472c3fb3c2d24 /gcc/doc | |
parent | 9ae601015839cc1835b55134bc9899c475ef77c2 (diff) | |
download | gcc-c0a6a1eff605142d06a4d873fb5074cb9b61c77e.zip gcc-c0a6a1eff605142d06a4d873fb5074cb9b61c77e.tar.gz gcc-c0a6a1eff605142d06a4d873fb5074cb9b61c77e.tar.bz2 |
defaults.h (REG_WORDS_BIG_ENDIAN): Provide a default.
* defaults.h (REG_WORDS_BIG_ENDIAN): Provide a default.
* doc/tm.texi.in (WORDS_BIG_ENDIAN): Mention REG_WORDS_BIG_ENDIAN.
(REG_WORDS_BIG_ENDIAN): Document.
* doc/tm.texi: Regenerate.
* reload.c (operands_match_p): Take it into account.
(reload_adjust_reg_for_mode): Likewise.
* rtlanal.c (subreg_get_info): Likewise.
From-SVN: r176048
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 11 | ||||
-rw-r--r-- | gcc/doc/tm.texi.in | 11 |
2 files changed, 18 insertions, 4 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index ae90184..c0648a5 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -870,11 +870,18 @@ word has the lowest number. This macro need not be a constant. @defmac WORDS_BIG_ENDIAN Define this macro to have the value 1 if, in a multiword object, the most significant word has the lowest number. This applies to both -memory locations and registers; GCC fundamentally assumes that the -order of words in memory is the same as the order in registers. This +memory locations and registers; see @code{REG_WORDS_BIG_ENDIAN} if the +order of words in memory is not the same as the order in registers. This macro need not be a constant. @end defmac +@defmac REG_WORDS_BIG_ENDIAN +On some machines, the order of words in a multiword object differs between +registers in memory. In such a situation, define this macro to describe +the order of words in a register. The macro @code{WORDS_BIG_ENDIAN} controls +the order of words in memory. +@end defmac + @defmac FLOAT_WORDS_BIG_ENDIAN Define this macro to have the value 1 if @code{DFmode}, @code{XFmode} or @code{TFmode} floating point numbers are stored in memory with the word diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index 254ddc2..3660d36 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -858,11 +858,18 @@ word has the lowest number. This macro need not be a constant. @defmac WORDS_BIG_ENDIAN Define this macro to have the value 1 if, in a multiword object, the most significant word has the lowest number. This applies to both -memory locations and registers; GCC fundamentally assumes that the -order of words in memory is the same as the order in registers. This +memory locations and registers; see @code{REG_WORDS_BIG_ENDIAN} if the +order of words in memory is not the same as the order in registers. This macro need not be a constant. @end defmac +@defmac REG_WORDS_BIG_ENDIAN +On some machines, the order of words in a multiword object differs between +registers in memory. In such a situation, define this macro to describe +the order of words in a register. The macro @code{WORDS_BIG_ENDIAN} controls +the order of words in memory. +@end defmac + @defmac FLOAT_WORDS_BIG_ENDIAN Define this macro to have the value 1 if @code{DFmode}, @code{XFmode} or @code{TFmode} floating point numbers are stored in memory with the word |