[Ecls-list] [PATCH] don't use lwsync if it is not available

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Mon Dec 15 09:28:18 UTC 2008

* Juan Jose Garcia-Ripoll | 2008-12-15 10:14:38 [+0100]:

>On Sun, Dec 14, 2008 at 7:12 PM, Sebastian Andrzej Siewior
><sebastian at breakpoint.cc> wrote:
>> PowerPCs with e500 cores interprete lwsync as an invalid instruction.
>> The ISA requests to execute a sync operation if lwsync is not
>> implemented.[...]
>> +#ifdef __NO_LWSYNC__
>This change actually affects the Boehm-Weiser garbage collector. Even
>though I have committed this to the git/CVS trees, I have two
>questions. The first one is whether this flag is set by autoconf and
Nope, it is a gcc builtin [1]. 

>the second one is whether you have reported this to the GC mailing
I haven't reported it to the GC mailing list. As far as I understood it,
this is part of the code is maintained in libatomic-ops and I've sent it
there. I can't see any webcv/svn access but google gave me this [2]
which includes the change..

[1] http://gcc.gnu.org/ml/gcc-patches/2006-11/msg01238.html
[2] http://libatomic-ops.sourcearchive.com/documentation/1.2plus-pcvs20080819/gcc_2powerpc_8h-source.html



More information about the ecl-devel mailing list