This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: resolve libstdc++/5198
- From: Roman Zippel <zippel at linux-m68k dot org>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Thu, 24 Jan 2002 20:03:17 +0100
- Subject: Re: resolve libstdc++/5198
- References: <20020123174001.A994@redhat.com>
Hi,
Richard Henderson wrote:
> Also, I don't see anything in the moto docs that require addl with a
> memory destination to be atomic. It may well be that it is on
> certain implementations, but I don't know which for sure. So make
> it use the known atomic __exchange_and_add and let the compiler
> throw away the result.
add.l is only atomic local to the cpu, so that would be only a problem
for m68k smp systems. I heard of rumors that such machines would exist,
but does gcc support them?
bye, Roman