Re: [PATCH] libstdc++: Add mem_order_hle_acquire/release to atomic.h v2

2013-01-21 Thread Jakub Jelinek
On Sun, Jan 13, 2013 at 10:06:05PM -0800, Andi Kleen wrote: > 2013-01-12 Andi Kleen > Jonathan Wakely > > PR libstdc++/55223 > * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc: > Add. The test is broken on i?86-linux, > --- /dev/null > +++ > b/l

Re: [PATCH] libstdc++: Add mem_order_hle_acquire/release to atomic.h v2

2013-01-14 Thread Jonathan Wakely
On 14 January 2013 06:06, Andi Kleen wrote: > > The underlying compiler supports additional __ATOMIC_HLE_ACQUIRE/RELEASE > memmodel flags for TSX, but this was not exposed to the C++ wrapper. > Handle it there. > > These are additional flags, so some of assert checks need to mask > off the flags b

[PATCH] libstdc++: Add mem_order_hle_acquire/release to atomic.h v2

2013-01-13 Thread Andi Kleen
From: Andi Kleen The underlying compiler supports additional __ATOMIC_HLE_ACQUIRE/RELEASE memmodel flags for TSX, but this was not exposed to the C++ wrapper. Handle it there. These are additional flags, so some of assert checks need to mask off the flags before checking the memory model type.