diff options
author | davem <davem@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-09 18:26:11 +0000 |
---|---|---|
committer | davem <davem@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-09 18:26:11 +0000 |
commit | 5b9dc69448195712a89b47fe5164e00a9563c0c3 (patch) | |
tree | d547f91f0017b93fd9a7408a7aff0c737821d9cd /gcc | |
parent | 500ff7402b2592e2771aad9775c69c19070c56e8 (diff) | |
download | gcc-5b9dc69448195712a89b47fe5164e00a9563c0c3.tar.gz |
2004-06-09 David S. Miller <davem@nuts.davemloft.net>
* config/sparc/sparc.h (MOVE_RATIO): New definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82844 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 09d1c8edfa4..388a8bbe14a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-06-09 David S. Miller <davem@nuts.davemloft.net> + + * config/sparc/sparc.h (MOVE_RATIO): New definition. + 2004-06-09 Richard Henderson <rth@redhat.com> * basic-block.h (struct edge_def): Add goto_locus. diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 3e0b1c91461..d1c80499970 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -2181,6 +2181,11 @@ do { \ in one reasonably fast instruction. */ #define MOVE_MAX 8 +/* If a memory-to-memory move would take MOVE_RATIO or more simple + move-instruction pairs, we will do a movstr or libcall instead. */ + +#define MOVE_RATIO (optimize_size ? 3 : 8) + /* Define if operations between registers always perform the operation on the full register even if a narrower mode is specified. */ #define WORD_REGISTER_OPERATIONS |