Re: [PATCH-v4] [SPARC] Add a workaround for the LEON3FT store-store errata

2017-07-11 Thread Daniel Cederman
On 2017-07-11 09:21, Eric Botcazou wrote: Applied without the undocumented tweaks to the divdf3_fix and sqrtdf2_fix patterns. Why are 2 nops necessary here? The stored value doesn't matter. And the length attribute should be adjusted if nops are added to the pattern. The first nop was added

Re: [PATCH-v4] [SPARC] Add a workaround for the LEON3FT store-store errata

2017-07-11 Thread Eric Botcazou
> 2017-07-07 Daniel Cederman > > * 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. > (sparc_option_override): -mfix-ut699, -mfix-ut700, and >