* config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case.
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 19 Jan 2011 19:05:14 +0000 (19:05 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 19 Jan 2011 19:05:14 +0000 (19:05 +0000)
From-SVN: r169015

gcc/ChangeLog
gcc/config/spu/spu.h

index 670fb68..ddb6b99 100644 (file)
@@ -1,3 +1,7 @@
+2011-01-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case.
+
 2011-01-19  Richard Henderson  <rth@redhat.com>
 
        * config/mn10300/mn10300.md (addsi3_flags): New.
index d0c638d..51bfa51 100644 (file)
@@ -406,7 +406,7 @@ targetm.resolve_overloaded_builtin = spu_resolve_overloaded_builtin;        \
 
 #define SLOW_BYTE_ACCESS 0
 
-#define MOVE_RATIO(speed) 32
+#define MOVE_RATIO(speed) ((speed)? 32 : 4)
 
 #define NO_FUNCTION_CSE