diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2007-05-10 13:07:24 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2007-05-10 13:07:24 +0000 |
commit | b548a9c2c2037434a577d39730cc4d46610f4a66 (patch) | |
tree | 1d6c78d9407ee36b944a1d727ff3d7d808c4e4f9 | |
parent | 1910440ea6f09731f4c475f8556c101e8944340c (diff) | |
download | gcc-b548a9c2c2037434a577d39730cc4d46610f4a66.zip gcc-b548a9c2c2037434a577d39730cc4d46610f4a66.tar.gz gcc-b548a9c2c2037434a577d39730cc4d46610f4a66.tar.bz2 |
bfin.h (MOVE_RATIO): Define.
* config/bfin/bfin.h (MOVE_RATIO): Define.
From-SVN: r124596
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/bfin/bfin.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 60c3c9c..7358111 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2007-05-08 Bernd Schmidt <bernd.schmidt@analog.com> + + * config/bfin/bfin.h (MOVE_RATIO): Define. + 2007-05-10 Richard Sandiford <richard@codesourcery.com> * config.gcc (sparc-wrs-vxworks): New target. diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h index 5a779da..b78ecb2 100644 --- a/gcc/config/bfin/bfin.h +++ b/gcc/config/bfin/bfin.h @@ -934,6 +934,10 @@ do { \ in one reasonably fast instruction. */ #define MOVE_MAX UNITS_PER_WORD +/* If a memory-to-memory move would take MOVE_RATIO or more simple + move-instruction pairs, we will do a movmem or libcall instead. */ + +#define MOVE_RATIO 5 /* STORAGE LAYOUT: target machine storage layout Define this macro as a C expression which is nonzero if accessing |