henghua Xu
Date: Fri, 30 Nov 2018 19:57:38 +0800
Subject: [PATCH] [MIPS][GCC] Fix Loongson3 LLSC Errata.
gcc/
* config.gcc (supported_defaults): Add fix-loongson3-llsc
(with_fix_loongson3_llsc): Add validation.
(all_defaults): Add fix-loongson3-llsc.
* config/mip
From: Paul Hua
In some older Loongson3 processors there is a LL/SC errata that can
cause the CPU to deadlock occasionally. The details are very
complicated. We find a way to work around this errata by
a) adding a sync before ll/lld instruction,
b) adding a sync before branch target that betwee
Paul Hua 于2018年11月30日周五 下午8:46写道:
>
> In some older Loongson3 processors there is a LL/SC errata that can
> cause the CPU to deadlock occasionally. The details are very
> complicated. We find a way to work around this errata by a) adding a
> sync before ll/lld instruction, b) adding a sync
> befo
2018 19:57:38 +0800
Subject: [PATCH] [MIPS][GCC] Fix Loongson3 LLSC Errata.
gcc/
* config.gcc (supported_defaults): Add fix-loongson3-llsc
(with_fix_loongson3_llsc): Add validation.
(all_defaults): Add fix-loongson3-llsc.
* config/mips/mips.c (mips_process_sync_loop): Add sync before
branch ta