> 2017-11-17 Daniel Cederman <ceder...@gaisler.com> > > * config/sparc/sparc.c (atomic_insn_p): New function. > (sparc_do_work_around_errata): Insert NOP instructions to > prevent sequences that could trigger the TN-0010 errata for > UT700. > * config/sparc/sync.md (atomic_compare_and_swap_leon3_1): Make > instruction referable in atomic_insns_p.
OK for mainline and 7 branch, thanks. -- Eric Botcazou