Re: [PATCH 4/4] sparc: Add NOP in stack_protect_setsi if sparc_fix_b2bst enabled

2021-09-15 Thread Eric Botcazou
> gcc/ChangeLog: > > * config/sparc/sparc.md: Add NOP to prevent sensitive sequence for > B2BST errata workaround. OK everywhere, but the ChangeLog entry should be: * config/sparc/sparc.md (stack_protect_set32): Add NOP... Note that it's stack_protect_set32 on mainline

[PATCH 4/4] sparc: Add NOP in stack_protect_setsi if sparc_fix_b2bst enabled

2021-09-15 Thread Daniel Cederman
This is needed to prevent the Store -> (Non-store or load) -> Store sequence. gcc/ChangeLog: * config/sparc/sparc.md: Add NOP to prevent sensitive sequence for B2BST errata workaround. --- gcc/config/sparc/sparc.md | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-)