Commit 460f6b71 by Andreas Jaeger Committed by Andreas Jaeger

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
parent eb24a9dc
2000-04-13 Andreas Jaeger <aj@suse.de> 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 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
__pic__ for little endian. __pic__ for little endian.
......
...@@ -3167,7 +3167,7 @@ expand_block_move (operands) ...@@ -3167,7 +3167,7 @@ expand_block_move (operands)
else if (constp && bytes <= 2 * MAX_MOVE_BYTES else if (constp && bytes <= 2 * MAX_MOVE_BYTES
&& align == UNITS_PER_WORD) && 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) else if (constp && bytes <= 2 * MAX_MOVE_BYTES)
emit_insn (gen_movstrsi_internal (change_address (orig_dest, BLKmode, emit_insn (gen_movstrsi_internal (change_address (orig_dest, BLKmode,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment