summaryrefslogtreecommitdiff
path: root/arch/x86_64/atomic.h
AgeCommit message (Collapse)AuthorLines
2011-04-27add word-sized ctz function to atomic.hRich Felker-2/+8
strictly speaking this and a few other ops should be factored into asm.h or the file should just be renamed to asm.h, but whatever. clean it up someday.
2011-03-17optimize contended normal mutex case; add int compare-and-swap atomicRich Felker-0/+7
2011-02-15Optimize x86_64 atomics to take advantage of 64-bitness.Nicholas J. Kain-9/+8
2011-02-15Port musl to x86-64. One giant commit!Nicholas J. Kain-0/+110