This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 2017-06-26 09:21, Eric Botcazou wrote:

Yes, modulo the config/sparc/sparc-c.c hunk, what is it used for?


It defines __FIX_B2BST when the back-to-back store fix is enabled. This makes it easy to only add the workaround NOPs to inline assembly (and assembly files that uses the GCC preprocessor) when needed.

But the implementation looks a bit strange, can't we merge the essentially
identical blocks of code into a single block, as for the other fixes?


I will submit a new version of the patch in which I have tried to remove the code duplication.

--
Daniel Cederman
Cobham Gaisler


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]