]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
bfin.h (MOVE_RATIO): Define.
authorBernd Schmidt <bernd.schmidt@analog.com>
Thu, 10 May 2007 13:07:24 +0000 (13:07 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 10 May 2007 13:07:24 +0000 (13:07 +0000)
* config/bfin/bfin.h (MOVE_RATIO): Define.

From-SVN: r124596

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

index 60c3c9cafbf6d3f098f0a309f75ed2d66297b533..73581110708df9e68701ccdf7ba36eb1f1520ae5 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 5a779da8ca71f354f04da8c0736d5d907fb539b0..b78ecb2c84a3009d8cae0dcc0d70791039a78e7d 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