reimpl atomic and atomic64 generic interfaces