Add support for cmpxchg