eal: split atomic operations to architecture specific