On 19/06/2015 09:29, Mark Burton wrote: > Does anybody know if the current atomic_cmpxchg will support 64 bit > on a (normal) 32 bit x86, or do we need to special case that with > cmpxchg8b ? (I get the impression that it will automatically use > cmpxchg8b, but not cmpxchg16b - but I’m by no means sure).
Both cmpxchg8b and cmpxchg16b are used, respectively on 32-bit and 64-bit x86. Paolo