> 2017-07-07  Daniel Cederman  <ceder...@gaisler.com>
> 
>       * 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
>       -mfix-gr712rc enables the errata workaround.
>       * config/sparc/sparc.md: Prevent stores in delay slot.
>       * config/sparc/sparc.opt: Add -mfix-ut700 and -mfix-gr712rc flag.
>       * doc/invoke.texi: Document -mfix-ut700 and -mfix-gr712rc flag.

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.

-- 
Eric Botcazou

Reply via email to