[MIPS] If using branch likelies in MIPS sync code fill the delay slot
authorAndrew Bennett <andrew.bennett@imgtec.com>
Fri, 21 Nov 2014 14:34:55 +0000 (14:34 +0000)
committerAndrew Bennett <abennett@gcc.gnu.org>
Fri, 21 Nov 2014 14:34:55 +0000 (14:34 +0000)
commit3b6eaaa53debeab9eddd9ce8042f9fab50ad58ba
treede256a7c54a3038c424444883e5ad5a8da4461d0
parent4bec983122f95df5e58de30ea76cbbb67e737cd3
[MIPS] If using branch likelies in MIPS sync code fill the delay slot
with a nop.

gcc/
* config/mips/mips.c (mips_process_sync_loop): Place a
nop in the delay slot of the branch likely instruction.
(mips_output_sync_loop): Ensure mips_branch_likely is
set before calling mips_output_sync_loop.
(mips_sync_loop_insns): Likewise.

From-SVN: r217926
gcc/ChangeLog
gcc/config/mips/mips.c