Re: powerpc wmb()

2001-11-18 Thread Anton Blanchard
Hi, > wmb is defined as > > #define wmb() __asm__ __volatile__ ("eieio" : : : "memory") > > however, ``eieio'' has no effect on memory, that is > Write Through Not Required, thus I think it should be > > #define wmb() __asm__ __volatile__ ("sync" : : : "memory") While the original ppc spec

Re: powerpc wmb()

2001-11-18 Thread Momchil Velikov
> "Michel" == Michel Dänzer <[EMAIL PROTECTED]> writes: Michel> Wrong list, try [EMAIL PROTECTED] Sorry. Thanks. Regards, -velco

Re: powerpc wmb()

2001-11-18 Thread Michel Dänzer
On Sun, 2001-11-18 at 13:38, Momchil Velikov wrote: > > wmb is defined as > > #define wmb() __asm__ __volatile__ ("eieio" : : : "memory") > > however, ``eieio'' has no effect on memory, that is > Write Through Not Required, thus I think it should be > > #define wmb() __asm__ __volatile__ ("sy

powerpc wmb()

2001-11-18 Thread Momchil Velikov
wmb is defined as #define wmb() __asm__ __volatile__ ("eieio" : : : "memory") however, ``eieio'' has no effect on memory, that is Write Through Not Required, thus I think it should be #define wmb() __asm__ __volatile__ ("sync" : : : "memory") Comments ? Regards, -velco