OSDN Git Service

* config/bfin/bfin.h (MOVE_RATIO): Define.
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 May 2007 13:07:24 +0000 (13:07 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 May 2007 13:07:24 +0000 (13:07 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124596 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/bfin/bfin.h

index 60c3c9c..7358111 100644 (file)
@@ -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.
index 5a779da..b78ecb2 100644 (file)
@@ -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