mips.c (expand_block_move): Pass alignment argument to move_by_pieces in bits, not...
authorAndreas Jaeger <aj@suse.de>
Thu, 13 Apr 2000 21:44:48 +0000 (23:44 +0200)
committerAndreas Jaeger <aj@gcc.gnu.org>
Thu, 13 Apr 2000 21:44:48 +0000 (23:44 +0200)
2000-04-13  Andreas Jaeger  <aj@suse.de>

* config/mips/mips.c (expand_block_move): Pass alignment
        argument to move_by_pieces in bits, not bytes.

From-SVN: r33142

gcc/ChangeLog
gcc/config/mips/mips.c

index 6fc038f..0b3925f 100644 (file)
@@ -1,5 +1,8 @@
 2000-04-13  Andreas Jaeger  <aj@suse.de>
 
+       * config/mips/mips.c (expand_block_move): Pass alignment
+        argument to move_by_pieces in bits, not bytes.
+
        * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
        __pic__ for little endian.
 
index 95f7f23..b7a7ffc 100644 (file)
@@ -3167,7 +3167,7 @@ expand_block_move (operands)
 
   else if (constp && bytes <= 2 * MAX_MOVE_BYTES
           && align == UNITS_PER_WORD)
-    move_by_pieces (orig_dest, orig_src, bytes, align);
+    move_by_pieces (orig_dest, orig_src, bytes, align * BITS_PER_WORD);
        
   else if (constp && bytes <= 2 * MAX_MOVE_BYTES)
     emit_insn (gen_movstrsi_internal (change_address (orig_dest, BLKmode,