diff options
author | Andreas Jaeger <aj@suse.de> | 2000-04-13 23:44:48 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2000-04-13 23:44:48 +0200 |
commit | 460f6b71942e7245fdc14eed44db51291ec281be (patch) | |
tree | 79f0aa73e19dbf664ac539bba8e240774eca1eac | |
parent | eb24a9dc02e571fa3cb56b1416a79a76cc92bd6f (diff) | |
download | gcc-460f6b71942e7245fdc14eed44db51291ec281be.zip gcc-460f6b71942e7245fdc14eed44db51291ec281be.tar.gz gcc-460f6b71942e7245fdc14eed44db51291ec281be.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6fc038f..0b3925f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 95f7f23..b7a7ffc 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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, |