• R
    clean up i386 atomics for new atomics framework · e24984ef
    Rich Felker 提交于
    this commit mostly makes consistent things like spacing, function
    ordering in atomic_arch.h, argument names, use of volatile, etc. the
    fake 64-bit and/or atomics are also removed because the shared
    atomic.h does a better job of implementing them; it avoids making two
    atomic memory accesses when only one 32-bit half needs to be touched.
    
    no major overhaul is needed or possible because x86 actually has
    native versions of all the usual atomic operations, rather than using
    ll/sc or needing cas loops.
    e24984ef
atomic_arch.h 1.9 KB