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

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
This commit is contained in:
Andreas Jaeger 2000-04-13 23:44:48 +02:00 committed by Andreas Jaeger
parent eb24a9dc02
commit 460f6b7194
2 changed files with 4 additions and 1 deletions

View 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.

View 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,