diff options
author | Jeff Law <law@redhat.com> | 2018-11-27 08:22:01 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2018-11-27 08:22:01 -0700 |
commit | 441fd442d26dedf421566a07827125114558be52 (patch) | |
tree | 2131e908fe69e25888de785583c3d667fa326070 /gcc | |
parent | cb369975b9663782c9f695c374bb6acc9aa706d8 (diff) | |
download | gcc-441fd442d26dedf421566a07827125114558be52.zip gcc-441fd442d26dedf421566a07827125114558be52.tar.gz gcc-441fd442d26dedf421566a07827125114558be52.tar.bz2 |
microblaze.c (microblaze_block_move_straight): Use RETURN_BEGIN in call to move_by_pieces.
* config/microblaze/microblaze.c (microblaze_block_move_straight): Use
RETURN_BEGIN in call to move_by_pieces.
(microblaze_expand_block_move): Likewise.
From-SVN: r266511
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/microblaze/microblaze.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ada909..4be85e3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-11-27 Jeff Law <law@redhat.com> + + * config/microblaze/microblaze.c (microblaze_block_move_straight): Use + RETURN_BEGIN in call to move_by_pieces. + (microblaze_expand_block_move): Likewise. + 2018-11-27 Tamar Christina <tamar.christina@arm.com> * doc/md.texi (xorsign): Document it. diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c index 06aa50e..6c4a62c 100644 --- a/gcc/config/microblaze/microblaze.c +++ b/gcc/config/microblaze/microblaze.c @@ -1180,7 +1180,7 @@ microblaze_block_move_straight (rtx dest, rtx src, HOST_WIDE_INT length) src = adjust_address (src, BLKmode, offset); dest = adjust_address (dest, BLKmode, 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); } } @@ -1269,7 +1269,7 @@ microblaze_expand_block_move (rtx dest, rtx src, rtx length, rtx align_rtx) { if (INTVAL (length) <= MAX_MOVE_BYTES) { - move_by_pieces (dest, src, bytes, align, 0); + move_by_pieces (dest, src, bytes, align, RETURN_BEGIN); return true; } else |