Sorry, no.
It's essential we don't emit SWP instructions directly into code on any
platform where that code may possibly be run on a later core that has
LDREX/STREX. If we do that we'll end up with a mess that can't be resolved.
In the absence of known OS helper functions the only solution to
On 12/01/2011 02:59 AM, Richard Earnshaw wrote:
It's essential we don't emit SWP instructions directly into code on any
platform where that code may possibly be run on a later core that has
LDREX/STREX. If we do that we'll end up with a mess that can't be resolved.
Ok. It's easy enough to
On 12/01/2011 10:49 AM, Richard Henderson wrote:
On 12/01/2011 02:59 AM, Richard Earnshaw wrote:
It's essential we don't emit SWP instructions directly into code on any
platform where that code may possibly be run on a later core that has
LDREX/STREX. If we do that we'll end up with a mess
---
gcc/config/arm/arm.h |6
gcc/config/arm/sync.md | 63 +++-
2 files changed, 68 insertions(+), 1 deletions(-)
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 31f4856..33e5b8e 100644
--- a/gcc/config/arm/arm.h
+++