]> git.ipfire.org Git - thirdparty/gcc.git/commit
sparc.opt (mfix-ut700): New option.
authorDaniel Cederman <cederman@gaisler.com>
Tue, 11 Jul 2017 07:18:50 +0000 (07:18 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 11 Jul 2017 07:18:50 +0000 (07:18 +0000)
commit67091cb476bc792a2050d2ce43f878c33465ae36
treed6324d01feead32d9eb13845d531efd48b661480
parent214f700a8bd18c37fc4a5390ccdee164d22443e2
sparc.opt (mfix-ut700): New option.

* config/sparc/sparc.opt (mfix-ut700): New option.
(mfix-gr712rc): Likewise.
(sparc_fix_b2bst): New variable.
* doc/invoke.texi (SPARC options): Document them.
(ARM options): Fix warnings.
* config/sparc/sparc.c (sparc_do_work_around_errata): Insert NOP
instructions to prevent sequences that can trigger the store-store
errata for certain LEON3FT processors.
(pass_work_around_errata::gate): Also test sparc_fix_b2bst.
(sparc_option_override): Set sparc_fix_b2bst appropriately.
* config/sparc/sparc.md (fix_b2bst): New attribute.
(in_branch_delay): Prevent stores in delay slot if fix_b2bst.

From-SVN: r250114
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.md
gcc/config/sparc/sparc.opt
gcc/doc/invoke.texi