diff options
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 |