Skip to content

Instantly share code, notes, and snippets.

Code (and Windows binary) here: https://github.com/rygorous/atomic_ops_test
I'd appreciate it if some people could run this and post their results here in a
comment, with a short description of what CPU they're using.
UPDATE: I have recent Intel CPUs (released within the last 3 years) pretty well covered
by now, so if that's what you have in your machine, don't bother running the test. But
I'd love to get some more data points for older Intel CPUs and AMD parts!
Results so far: