(expand_block_move): Update source and destination pointers inside the
loop moving the bytes, not outside. From-SVN: r9891
This commit is contained in:
parent
adedad3ee4
commit
015892ee4a
@ -789,12 +789,12 @@ expand_block_move (operands)
|
||||
GEN_INT (move_bytes),
|
||||
align_rtx));
|
||||
}
|
||||
}
|
||||
|
||||
if (bytes > move_bytes)
|
||||
{
|
||||
emit_insn (gen_addsi3 (src_reg, src_reg, GEN_INT (move_bytes)));
|
||||
emit_insn (gen_addsi3 (dest_reg, dest_reg, GEN_INT (move_bytes)));
|
||||
if (bytes > move_bytes)
|
||||
{
|
||||
emit_insn (gen_addsi3 (src_reg, src_reg, GEN_INT (move_bytes)));
|
||||
emit_insn (gen_addsi3 (dest_reg, dest_reg, GEN_INT (move_bytes)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user