24 Aug
2010
24 Aug
'10
10:16 a.m.
Antony T Curtis <atcurtis@mac.com> writes:
I think the 80486 introduced the cmp8xchg instruction.
It appears you are right. Oleg, it seems that MySQL 5.5 already implements a 64-bit atomic add for 32-bit x86 platforms. Check include/atomic/x86-gcc.h , it uses the cmpxchg8b instruction. - Kristian.