Hi,

Kevin Ryde <[EMAIL PROTECTED]> writes:

> I think "1:" is a gas-ism, it might not work on aix and macos.  But
> dunno if guile actually runs at all on those systems at the moment.

Well, the GAS documentation doesn't mention any syntax incompatibilities
in the `PPC-Dependent' node, so I don't know whether this is really is a
GAS-ism.

>> +       : "=&r" (fet)                                \
>> +       : "r" (mem), "r" (sto));                     \
>
> I think "mem" should be in the outputs too, since it's changed.

I don't think so since `mem', as an address, isn't changed.

However, the Glibc implementation rightfully adds the following list of
clobbered registers:

  : "cr0", "memory"

(`cr0' is being modified by `stwcx.' while `memory' denotes the
reservation bit I guess).

This should be added to the patch I sent.

Thanks,
Ludovic.


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to