Re: Powerpc atomic_load

2015-09-23 Thread Peter Bergner
On Wed, 2015-09-23 at 16:15 +0200, Sebastian Huber wrote: > On 10/09/15 19:52, David Edelsohn wrote: > > https://www.cl.cam.ac.uk/~pes20/cpp/cpp0xmappings.html > > Is there specific reason why the SYNC L,E (Elemental Memory Barriers) > defined by Power-ISA V2.07 doesn't appear in this table? Pro

Re: Powerpc atomic_load

2015-09-23 Thread Sebastian Huber
On 10/09/15 19:52, David Edelsohn wrote: https://www.cl.cam.ac.uk/~pes20/cpp/cpp0xmappings.html Is there specific reason why the SYNC L,E (Elemental Memory Barriers) defined by Power-ISA V2.07 doesn't appear in this table? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-

Re: Powerpc atomic_load

2015-09-10 Thread Bernhard Schommer
Thanks a lot for this fast answer. Am 10.09.2015 um 19:52 schrieb David Edelsohn: https://www.cl.cam.ac.uk/~pes20/cpp/cpp0xmappings.html On Thu, Sep 10, 2015 at 1:39 PM, Bernhard Schommer wrote: I just ran into something strange using gcc 8.4.3 for powerpc. A call to the __atomic_load functio

Re: Powerpc atomic_load

2015-09-10 Thread David Edelsohn
https://www.cl.cam.ac.uk/~pes20/cpp/cpp0xmappings.html On Thu, Sep 10, 2015 at 1:39 PM, Bernhard Schommer wrote: > I just ran into something strange using gcc 8.4.3 for powerpc. > A call to the __atomic_load function: > > __atomic_load(&Buf, &buf, __ATOMIC_SEQ_CST); > > expands to: > > sync > lis