Commit e4197fe6 by Toma Tabacu Committed by Toma Tabacu

Apply temporary fix for PR rtl-optimization/79150.

gcc/
	PR rtl-optimization/79150
	* config/mips/mips.c (mips_block_move_loop): Emit a NOP after the
	conditional jump, if the jump is the last insn of the loop.

From-SVN: r246320
parent 0ffe60b5
2017-03-21 Toma Tabacu <toma.tabacu@imgtec.com>
PR rtl-optimization/79150
* config/mips/mips.c (mips_block_move_loop): Emit a NOP after the
conditional jump, if the jump is the last insn of the loop.
2017-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Richard Biener <rguenth@suse.com>
......
......@@ -8098,6 +8098,9 @@ mips_block_move_loop (rtx dest, rtx src, HOST_WIDE_INT length,
/* Mop up any left-over bytes. */
if (leftover)
mips_block_move_straight (dest, src, leftover);
else
/* Temporary fix for PR79150. */
emit_insn (gen_nop ());
}
/* Expand a movmemsi instruction, which copies LENGTH bytes from
......
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