Commit 015892ee by Richard Kenner

(expand_block_move): Update source and destination pointers inside the

loop moving the bytes, not outside.

From-SVN: r9891
parent adedad3e
...@@ -789,7 +789,6 @@ expand_block_move (operands) ...@@ -789,7 +789,6 @@ expand_block_move (operands)
GEN_INT (move_bytes), GEN_INT (move_bytes),
align_rtx)); align_rtx));
} }
}
if (bytes > move_bytes) if (bytes > move_bytes)
{ {
...@@ -797,6 +796,7 @@ expand_block_move (operands) ...@@ -797,6 +796,7 @@ expand_block_move (operands)
emit_insn (gen_addsi3 (dest_reg, dest_reg, GEN_INT (move_bytes))); emit_insn (gen_addsi3 (dest_reg, dest_reg, GEN_INT (move_bytes)));
} }
} }
}
else /* string instructions not available */ else /* string instructions not available */
{ {
......
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