Commit cece89d0 by Jeff Law Committed by Jeff Law

riscv (riscv_block_mvoe_straight): Use RETURN_BEGIN in call to move_by_pieces.

	* config/riscv/riscv (riscv_block_mvoe_straight): Use RETURN_BEGIN
	in call to move_by_pieces.

	* config/sh/sh-mem.c (expand_block_move): Use RETURN_BEGIN in call
	to move_by_pieces.

From-SVN: r266514
parent 5605f2e1
2018-11-27 Jeff Law <law@redhat.com> 2018-11-27 Jeff Law <law@redhat.com>
* config/riscv/riscv (riscv_block_mvoe_straight): Use RETURN_BEGIN
in call to move_by_pieces.
* config/sh/sh-mem.c (expand_block_move): Use RETURN_BEGIN in call
to move_by_pieces.
* config/lm32/lm32.c (lm32_block_move_inline): Use RETURN_BEGIN in * config/lm32/lm32.c (lm32_block_move_inline): Use RETURN_BEGIN in
call to move_by_pieces. call to move_by_pieces.
...@@ -2882,7 +2882,7 @@ riscv_block_move_straight (rtx dest, rtx src, HOST_WIDE_INT length) ...@@ -2882,7 +2882,7 @@ riscv_block_move_straight (rtx dest, rtx src, HOST_WIDE_INT length)
src = adjust_address (src, BLKmode, offset); src = adjust_address (src, BLKmode, offset);
dest = adjust_address (dest, BLKmode, offset); dest = adjust_address (dest, BLKmode, offset);
move_by_pieces (dest, src, length - offset, move_by_pieces (dest, src, length - offset,
MIN (MEM_ALIGN (src), MEM_ALIGN (dest)), 0); MIN (MEM_ALIGN (src), MEM_ALIGN (dest)), RETURN_BEGIN);
} }
} }
......
...@@ -91,7 +91,7 @@ expand_block_move (rtx *operands) ...@@ -91,7 +91,7 @@ expand_block_move (rtx *operands)
move_by_pieces (adjust_address (dest, BLKmode, copied), move_by_pieces (adjust_address (dest, BLKmode, copied),
adjust_automodify_address (src, BLKmode, adjust_automodify_address (src, BLKmode,
src_addr, copied), src_addr, copied),
bytes - copied, align, 0); bytes - copied, align, RETURN_BEGIN);
return true; return true;
} }
......
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