Just some notes
Support building ASM files from 'make test'
Make test into a phony rule
Rigorously test atomic functions with many threads
Make sure atomic operations use LOCK PREFIX
Add atomic_compare_and_set_pointer function
Add tests for atomic increment
Add atomic increment operations
Make a note

atomic_compare_and_set64 uses the ESI register without preserving it;
I'm pretty sure that's *not* ok.