Re: [PATCH 3/4] sparc: Prevent atomic instructions in beginning of functions for UT700

2021-09-15 Thread Eric Botcazou
> gcc/ChangeLog: > > * config/sparc/sparc.c (sparc_do_work_around_errata): Do not begin > functions with atomic instruction in the UT700 errata workaround. OK everywhere. -- Eric Botcazou

[PATCH 3/4] sparc: Prevent atomic instructions in beginning of functions for UT700

2021-09-15 Thread Daniel Cederman
A call to the function might have a load instruction in the delay slot and a load followed by an atomic function could cause a deadlock. gcc/ChangeLog: * config/sparc/sparc.c (sparc_do_work_around_errata): Do not begin functions with atomic instruction in the UT700 errata workarou