As D78974, this patch implements the emulation for store op. The emulation is
done with atomic operations. E.g., if the storing value is i8, rewrite the
StoreOp to:
- load a 32-bit integer
- clear 8 bits in the loading value
- store 32-bit value back
- load a 32-bit integer
- modify 8 bits in the loading value
- store 32-bit value back
The step 1 to step 3 are done by AtomicAnd as one atomic step, and the step 4
to step 6 are done by AtomicOr as another atomic step.
Not necessarily 32-bit here?