diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-08-10 15:28:26 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2004-08-10 15:28:26 +0200 |
commit | 45d78e7f76382d08aeec6c4237e149d2d364ed1c (patch) | |
tree | 9647ac9edda8c048aa7fbe29d2b9727b756bb40d /gcc/doc/tm.texi | |
parent | 25f3e06c7c272acfe17d2502a03330dcf5447b97 (diff) | |
download | gcc-45d78e7f76382d08aeec6c4237e149d2d364ed1c.zip gcc-45d78e7f76382d08aeec6c4237e149d2d364ed1c.tar.gz gcc-45d78e7f76382d08aeec6c4237e149d2d364ed1c.tar.bz2 |
re PR libgcj/3144 (java.lang.Date.compareTo() not supported)
PR target/3144
* expr.c (move_by_pieces_ninsns): Add max_size argument.
(MOVE_BY_PIECES_P): Pass MOVE_MAX_PIECES + 1 to it.
(CLEAR_BY_PIECES_P): Pass STORE_MAX_PIECES + 1 to it.
(STORE_BY_PIECES_P): Define similarly to CLEAR_BY_PIECES_P,
but using MOVE_RATIO.
(move_by_pieces): Pass max_size to move_by_pieces_ninsns.
(can_store_by_pieces): Change max_size type to unsigned int.
(store_by_pieces_1): Likewise. Pass max_size to
move_by_pieces_ninsns.
* config/s390/s390.h (STORE_BY_PIECES_P): Define.
* config/sh/sh.c (MOVE_BY_PIECES_P): Pass MOVE_MAX_PIECES + 1
to move_by_pieces_ninsns.
(STORE_BY_PIECES_P): Define.
* config/ns32k/ns32k.h (STORE_BY_PIECES_P): Pass STORE_MAX_PIECES + 1
to move_by_pieces_ninsns.
* doc/tm.texi (STORE_BY_PIECES_P): Document changed default.
* config/i386/i386.h (CLEAR_RATIO): Define.
From-SVN: r85750
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index a250742..5192bd6 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -5399,7 +5399,8 @@ used to set a chunk of memory to a constant value, or whether some other mechanism will be used. Used by @code{__builtin_memset} when storing values other than constant zero and by @code{__builtin_strcpy} when when called with a constant source string. -Defaults to @code{MOVE_BY_PIECES_P}. +Defaults to to 1 if @code{move_by_pieces_ninsns} returns less +than @code{MOVE_RATIO}. @end defmac @defmac USE_LOAD_POST_INCREMENT (@var{mode}) |