This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v3 1/4] [SPARC] Errata workaround for GRLIB-TN-0012
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Daniel Cederman <cederman at gaisler dot com>
- Cc: gcc-patches at gcc dot gnu dot org, sebastian dot huber at embedded-brains dot de, daniel at gaisler dot com
- Date: Wed, 29 Nov 2017 11:09:50 +0100
- Subject: Re: [PATCH v3 1/4] [SPARC] Errata workaround for GRLIB-TN-0012
- Authentication-results: sourceware.org; auth=none
- References: <20171128122441.30772-1-cederman@gaisler.com>
> 2017-11-17 Daniel Cederman <cederman@gaisler.com>
>
> * config/sparc/sparc.c (fpop_insn_p): New function.
> (sparc_do_work_around_errata): Insert NOP instructions to
> prevent sequences that could trigger the TN-0012 errata for
> GR712RC.
> (pass_work_around_errata::gate): Also test sparc_fix_gr712rc.
> * config/sparc/sparc.md (fix_gr712rc): New attribute.
> (in_branch_annul_delay): Prevent floating-point instructions
> in delay slot of annulled integer branch.
OK for mainline and 7 branch, thanks.
--
Eric Botcazou