> > isync only affects the running processor.
>
> I have tried LinuxPPC's TAS code but AIX's assembler complains that
> lwarx and stwcx are unsupported op. So it seems that we need to tweak
> your code actually.
The problem is, that the default on AIX is to produce architecture independent
code (arch=COM). Unfortunately not all AIX architectures seem to have these
instructions. With arch=ppc it works (two lines adjusted .globl .tas and .tas:).
My worry is, that the Architecture book sais that the isync is necessary on SMP.
I wonder why that would not also apply to LinuxPPC or Apple.
Andreas