OSDN Git Service

* config/bfin/bfin.h (MOVE_RATIO): Define.
[pf3gnuchains/gcc-fork.git] / gcc / config / bfin / bfin.h
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