I haven't seen it doing that on any of my code using volatile, mostly for CAS and fetch-and-add (lock xadd).
I haven't seen it doing that on any of my code using volatile, mostly for CAS and fetch-and-add (lock xadd).