On 17 Sep 2018, at 20:54, Yann Ylavic <[email protected]> wrote: > How about 128bit? :p > > There are __int128 (gcc) and _m128 (MSVC) and most 64bit intel/amd > CPUs support cmpxchg16b. > Intrinsics work on gcc, and (eg.) _InterlockedCompareExchange128 on Windows. > > This can be very useful to avoid the ABA problem when doing atomics > with 64bit pointers. > For instance, MPM event could benefit from that (see PR 62141)...
While we’re here we should do this, +1. Regards, Graham —
