mercredi 9 septembre 2020

What is the different between load/store relaxed atomic and normal variable?

As I see from here: https://godbolt.org/z/K477q1.

The generated assembly load/store atomic relaxed is the same as the normal variable: ldr and str

So, is there any difference between relaxed atomic and normal variable?

Aucun commentaire:

Enregistrer un commentaire