Volatile atomic operations?

From this earlier discussion on the topic, the answer is no.

Edit: Although if I'm reading it correctly, to ensure the loads are not optimized out, now or in the future, they should use a non-relaxed ordering and two loads should not be adjacent (with no intervening code).