Comment 8 for bug 803865

Revision history for this message
Davi Arnaut (davi) wrote :

Hum, saw this as a question on stackoverflow.com. For what it's worth, the volatile and memory clobber are used because all the atomic functions must imply barriers. The stack pointer is clobbered to prevent GCC from using variables as a offset from it. Clobbering flags is not necessary, already implied.