]> git.ipfire.org Git - thirdparty/gcc.git/commit
sparc: Add NOP in stack_protect_setsi if sparc_fix_b2bst enabled
authorDaniel Cederman <cederman@gaisler.com>
Thu, 1 Oct 2020 07:11:38 +0000 (09:11 +0200)
committerDaniel Hellstrom <daniel@gaisler.com>
Thu, 16 Sep 2021 11:40:50 +0000 (13:40 +0200)
commit3fd9656951bc88e20d475c989c03d5da507b973b
tree3b2e725aaa682415728d61d4564ce25e9ae8d213
parent7b30a12edf7a3a461bbfc9cbb29b3050c7164032
sparc: Add NOP in stack_protect_setsi if sparc_fix_b2bst enabled

This is needed to prevent the Store -> (Non-store or load) -> Store
sequence.

gcc/ChangeLog:

* config/sparc/sparc.md (stack_protect_setsi): Add NOP to prevent
sensitive sequence for B2BST errata workaround.
gcc/config/sparc/sparc.md